#
# Main makefile for the host tools
#
-
-file:=${lastword ${MAKEFILE_LIST}}
curdir:=tools
# subdirectories to descend into
@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)))