summaryrefslogtreecommitdiff
path: root/include/unpack.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-02-25 21:43:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-02-25 21:43:04 +0000
commite8b6104dde2368a3199dac4c1e4c941a2855c0e1 (patch)
tree72af9da509d9b7b4012de0e737ed91b2ff1d1544 /include/unpack.mk
parent2242545e569b66feabafb3fc3ef41d22f0d3ee13 (diff)
downloadmtk-20170518-e8b6104dde2368a3199dac4c1e4c941a2855c0e1.zip
mtk-20170518-e8b6104dde2368a3199dac4c1e4c941a2855c0e1.tar.gz
mtk-20170518-e8b6104dde2368a3199dac4c1e4c941a2855c0e1.tar.bz2
allow packages to override PKG_UNPACK, HOST_UNPACK
SVN-Revision: 14659
Diffstat (limited to 'include/unpack.mk')
-rw-r--r--include/unpack.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unpack.mk b/include/unpack.mk
index e281094..2cd1781 100644
--- a/include/unpack.mk
+++ b/include/unpack.mk
@@ -67,10 +67,10 @@ ifeq ($(strip $(UNPACK_CMD)),)
endif
ifdef PKG_BUILD_DIR
- PKG_UNPACK := $(call UNPACK_CMD,$(PKG_BUILD_DIR)) $(call CRLF_CMD,$(PKG_BUILD_DIR))
+ PKG_UNPACK ?= $(call UNPACK_CMD,$(PKG_BUILD_DIR)) $(call CRLF_CMD,$(PKG_BUILD_DIR))
endif
ifdef HOST_BUILD_DIR
- HOST_UNPACK := $(call UNPACK_CMD,$(HOST_BUILD_DIR)) $(call CRLF_CMD,$(HOST_BUILD_DIR))
+ HOST_UNPACK ?= $(call UNPACK_CMD,$(HOST_BUILD_DIR)) $(call CRLF_CMD,$(HOST_BUILD_DIR))
endif
endif # PKG_SOURCE