aboutsummaryrefslogtreecommitdiffstats
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
commit4adf96dadaabe0a00e714d7689c4acc6dac241da (patch)
tree75062c1a32f4d075744ae275e544004fda293757 /include/unpack.mk
parentb0d77eccb73fe22f76d0783d4e41809eeb3e827c (diff)
downloadupstream-4adf96dadaabe0a00e714d7689c4acc6dac241da.tar.gz
upstream-4adf96dadaabe0a00e714d7689c4acc6dac241da.tar.bz2
upstream-4adf96dadaabe0a00e714d7689c4acc6dac241da.zip
allow packages to override PKG_UNPACK, HOST_UNPACK
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14659 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 e2810944e8..2cd17817e6 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