X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2FMakefile;h=492c02709909a937becb4f0ee497a6f3b78a5eb4;hb=344cc199364ef9e09139cf32f3d560f7f4365d96;hp=2c093c0aaca67b578a21f01bc72f1038af192150;hpb=506d2a0161e0a82f842f2473f66aa22c9985ad9b;p=openwrt-10.03%2F.git diff --git a/tools/Makefile b/tools/Makefile index 2c093c0aa..492c02709 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -6,8 +6,6 @@ # # Main makefile for the host tools # - -file:=${lastword ${MAKEFILE_LIST}} curdir:=tools # subdirectories to descend into @@ -23,13 +21,13 @@ $(STAGING_DIR)/include-host/.done: @cp $(1)/include/*.h $$$$(dirname $$@)/ @touch $$@ $(curdir)//prepare = $(STAGING_DIR)/include-host/.done +$(curdir)//compile = $(STAGING_DIR)/include-host/.done endef $(eval $(call copy_include,$(curdir))) # prerequisites for the individual targets -$(curdir)/ := .config -$(curdir)//compile = $(1)/prepare +$(curdir)/ := .config prereq $(curdir)//install = $(1)/compile -$(eval $(call stampfile,$(curdir),tools)) +$(eval $(call stampfile,$(curdir),tools,install)) $(eval $(call subdir,$(curdir)))