build: ensure tools are built before building the toolchain
authorFelix Fietkau <nbd@openwrt.org>
Sat, 13 Dec 2014 12:01:19 +0000 (12:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 13 Dec 2014 12:01:19 +0000 (12:01 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r43693

SVN-Revision: 43694

toolchain/Makefile

index 36c6ed328a349a9848f8afc65f9294c34e3766f8..7f8d62f73957b9c69ce5e43eb9f81c1572953fd2 100644 (file)
@@ -74,7 +74,7 @@ endif
 
 # prerequisites for the individual targets
 $(curdir)/ := .config prereq
-$(curdir)//prepare = $(STAGING_DIR)/.prepared $(TOOLCHAIN_DIR)/info.mk
+$(curdir)//prepare = $(STAGING_DIR)/.prepared $(TOOLCHAIN_DIR)/info.mk $(tools/stamp-install)
 $(curdir)//compile = $(1)/prepare
 $(curdir)//install = $(1)/compile