build: ensure tools are built before building the toolchain
[openwrt-14.07/.git] / 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