X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/506d2a0161e0a82f842f2473f66aa22c9985ad9b..542b8fd8eabb69b852010b3280e1904c4888bad3:/tools/Makefile 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)))