summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-31 18:00:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-31 18:00:56 +0200
commita40ccadfab0cfecb0100ec4ea8c0f43357996212 (patch)
treea0f4d71164524da42ffeb05ac7a94181d88a9d04 /mk
parent3d1d2d1ee14d15b8c5470c38f76075bc22ad85a3 (diff)
better fix
Diffstat (limited to 'mk')
-rw-r--r--mk/buildhlp.mk4
-rw-r--r--mk/vars.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index c4109c1aa..5ce3ca4a0 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -46,7 +46,7 @@ endif
ifeq ($(EXTRACT_OVERRIDE),1)
${MAKE} do-extract
else
- export PATH='${HOST_PATH}' ${EXTRACT_CMD}
+ ${EXTRACT_CMD}
endif
@${MAKE} post-extract $(MAKE_TRACE)
touch $@
@@ -62,7 +62,7 @@ endif
ifeq ($(EXTRACT_OVERRIDE),1)
${MAKE} do-extract
else
- export PATH='${HOST_PATH}' ${EXTRACT_CMD}
+ ${EXTRACT_CMD}
endif
@${MAKE} post-extract $(MAKE_TRACE)
touch $@
diff --git a/mk/vars.mk b/mk/vars.mk
index e6fe41946..a26dc0734 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -208,7 +208,7 @@ RSTRIP:= PATH="$(TARGET_PATH)" prefix='${TARGET_CROSS}' ${BASH} ${SCRIPT_DIR}/r
STATCMD:=$(shell if stat -qs .>/dev/null 2>&1; then echo 'stat -f %z';else echo 'stat -c %s';fi)
-EXTRACT_CMD= mkdir -p ${WRKDIR}; \
+EXTRACT_CMD= PATH='${HOST_PATH}'; mkdir -p ${WRKDIR}; \
cd ${WRKDIR} && \
for file in ${FULLDISTFILES}; do case $$file in \
*.cpio) \