build: pass $(STAGING_DIR_HOST) to Host/Install

makes it more consistent with package builds

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-08-23 10:58:00 +02:00
parent 4c451ae0a7
commit 4170267f5a

View file

@ -111,7 +111,7 @@ define Host/Install/Default
endef
define Host/Install
$(call Host/Install/Default)
$(call Host/Install/Default,$(STAGING_DIR_HOST))
endef
@ -173,7 +173,7 @@ ifndef DUMP
touch $$@
$(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(if $(FORCE_HOST_INSTALL),FORCE)
$(call Host/Install)
$(call Host/Install,$(STAGING_DIR_HOST))
$(foreach hook,$(Hooks/HostInstall/Post),$(call $(hook))$(sep))
mkdir -p $$(shell dirname $$@)
touch $(HOST_STAMP_BUILT)