From e8b6104dde2368a3199dac4c1e4c941a2855c0e1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 25 Feb 2009 21:43:04 +0000 Subject: [PATCH] allow packages to override PKG_UNPACK, HOST_UNPACK SVN-Revision: 14659 --- include/unpack.mk | 4 ++-- 1 file 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