summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-05 11:35:48 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-05 13:52:21 (GMT)
commit4d15e451c95220f682e262d125ef3fba38ac44ed (patch)
treef4e4386b4c23039c4654f8eca20b3b94a80959ca /mk
parente487421e991f8c9c61f61be4188ab42c8dba6706 (diff)
gnu sed no longer required, will be build as hosttool
Diffstat (limited to 'mk')
-rw-r--r--mk/kernel-vars.mk2
-rw-r--r--mk/vars.mk5
2 files changed, 4 insertions, 3 deletions
diff --git a/mk/kernel-vars.mk b/mk/kernel-vars.mk
index 7d8de54..edcb458 100644
--- a/mk/kernel-vars.mk
+++ b/mk/kernel-vars.mk
@@ -15,4 +15,4 @@ else
KERNEL_MAKE_OPTS+= HOSTCFLAGS='${CFLAGS_FOR_BUILD}'
endif
-KERNEL_MAKE_ENV+= PATH="${STAGING_HOST_DIR}/usr/bin:$$PATH"
+KERNEL_MAKE_ENV:= PATH="${STAGING_HOST_DIR}/usr/bin:$$PATH"
diff --git a/mk/vars.mk b/mk/vars.mk
index 96a4259..ffb26fb 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -199,9 +199,10 @@ HOST_CONFIGURE_OPTS= CC_FOR_BUILD='${CC_FOR_BUILD}' \
PKG_SUFFIX:= $(strip $(subst ",, $(ADK_PACKAGE_SUFFIX)))
ifeq ($(ADK_TARGET_PACKAGE_IPKG),y)
-PKG_BUILD:= PATH='${TARGET_PATH}' \
+PKG_BUILD:= PATH='${HOST_PATH}' \
${BASH} ${SCRIPT_DIR}/ipkg-build
-PKG_INSTALL:= IPKG_TMP=$(BUILD_DIR)/tmp \
+PKG_INSTALL:= PATH='${HOST_PATH}' \
+ IPKG_TMP=$(BUILD_DIR)/tmp \
IPKG_INSTROOT=$(TARGET_DIR) \
IPKG_CONF_DIR=$(STAGING_TARGET_DIR)/etc \
IPKG_OFFLINE_ROOT=$(TARGET_DIR) \