diff --git a/tools/Makefile b/tools/Makefile index a161154b80..23671cba91 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -152,6 +152,6 @@ $(curdir)/ := .config prereq $(curdir)/install: $(curdir)/compile tools_enabled = $(foreach tool,$(sort $(tools-y) $(tools-)),$(if $(filter $(tool),$(tools-y)),y,n)) -$(eval $(call stampfile,$(curdir),tools,compile,,_$(subst $(space),,$(tools_enabled)))) -$(eval $(call stampfile,$(curdir),tools,check,$(TMP_DIR)/.build)) +$(eval $(call stampfile,$(curdir),tools,compile,,_$(subst $(space),,$(tools_enabled)),$(STAGING_DIR_HOST))) +$(eval $(call stampfile,$(curdir),tools,check,$(TMP_DIR)/.build,,$(STAGING_DIR_HOST))) $(eval $(call subdir,$(curdir)))