fix compile errors with make 3.80
[openwrt.org/openwrt.git] / toolchain / Makefile
blob:a/toolchain/Makefile -> blob:b/toolchain/Makefile
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -6,7 +6,6 @@
 #
 # Main makefile for the toolchain
 #
-file:=${lastword ${MAKEFILE_LIST}}
 curdir:=toolchain
 
 # subdirectories to descend into
@@ -22,12 +21,12 @@
 $(curdir)/gcc/install:=$(curdir)/uClibc/install
 
 # prerequisites for the individual targets
-$(curdir)/ := .config $(tools/stamp)
+$(curdir)/ := .config $(tools/stamp-install) prereq
 $(curdir)//prepare = $(STAGING_DIR)/include-host/.done
 $(curdir)//compile = $(1)/prepare
 $(curdir)//install = $(1)/compile
 
-$(eval $(call stampfile,$(curdir),toolchain))
+$(eval $(call stampfile,$(curdir),toolchain,install))
 $(eval $(call subdir,$(curdir)))
 
 

comments