diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-05-03 15:01:03 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-05-25 19:01:07 +0200 |
commit | f62f4b3c5c9d059a2e6a1e80ce7b4267ef0c236b (patch) | |
tree | 96563a32e7c0f1b7d96bae85defb7f17bae626ec /include/host-build.mk | |
parent | a76cbc0d7ec2a816682063bdc18d114ec0711113 (diff) | |
download | upstream-f62f4b3c5c9d059a2e6a1e80ce7b4267ef0c236b.tar.gz upstream-f62f4b3c5c9d059a2e6a1e80ce7b4267ef0c236b.tar.bz2 upstream-f62f4b3c5c9d059a2e6a1e80ce7b4267ef0c236b.zip |
build: stop overriding STAGING_DIR_HOST for toolchain build
This causes various issues in other places that assume that host
binaries are staged in STAGING_DIR_HOST.
Since all the right places use HOST_BUILD_PREFIX, override that instead.
This fixes some issues with quilt on toolchain dirs
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/host-build.mk')
-rw-r--r-- | include/host-build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/host-build.mk b/include/host-build.mk index 70da733d43..dc70373855 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -27,7 +27,7 @@ BUILD_TYPES += host HOST_STAMP_PREPARED:=$(HOST_BUILD_DIR)/.prepared$(if $(HOST_QUILT)$(DUMP),,$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(HOST_PREPARED_DEPENDS))) HOST_STAMP_CONFIGURED:=$(HOST_BUILD_DIR)/.configured HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.built -HOST_BUILD_PREFIX:=$(if $(IS_PACKAGE_BUILD),$(STAGING_DIR_HOSTPKG),$(STAGING_DIR_HOST)) +HOST_BUILD_PREFIX?=$(if $(IS_PACKAGE_BUILD),$(STAGING_DIR_HOSTPKG),$(STAGING_DIR_HOST)) HOST_STAMP_INSTALLED:=$(HOST_BUILD_PREFIX)/stamp/.$(PKG_NAME)_installed override MAKEFLAGS= |