package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG)

Cleanup to prepare for changing STAGING_DIR_HOSTPKG. The actual change of
STAGING_DIR_HOSTPKG (i.e., moving the host packages back into a common, not
target-specific directory) will be done after the first LEDE release, but
the cleanup will also be useful for projects like Gluon.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
Matthias Schiffer
2017-01-10 18:43:57 +01:00
parent 7480d3309c
commit 77beaf2ec9
8 changed files with 22 additions and 22 deletions

View File

@@ -59,8 +59,8 @@ define Package/bspatch/install
endef
define Host/Install
$(INSTALL_DIR) $(STAGING_DIR)/host/bin/
$(MAKE) -C $(HOST_BUILD_DIR) PREFIX=$(STAGING_DIR)/host/ install
$(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/bin/
$(MAKE) -C $(HOST_BUILD_DIR) PREFIX=$(STAGING_DIR_HOSTPKG)/ install
endef
define Host/Compile
@@ -70,7 +70,7 @@ define Host/Compile
endef
define Host/Install
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bsdiff $(STAGING_DIR)/host/bin/
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bsdiff $(STAGING_DIR_HOSTPKG)/bin/
endef
$(eval $(call HostBuild))