build: pass $(STAGING_DIR_HOST) to Host/Install
authorFelix Fietkau <nbd@nbd.name>
Tue, 23 Aug 2016 08:58:00 +0000 (10:58 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 23 Aug 2016 09:56:13 +0000 (11:56 +0200)
makes it more consistent with package builds

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/host-build.mk

index a494ced..659cdc4 100644 (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)