build: ensure tools are built before building the toolchain
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Dec 2014 12:01:19 +0000 (12:01 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Dec 2014 12:01:19 +0000 (12:01 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r43693

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43694 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/Makefile

index 36c6ed3..7f8d62f 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