allow packages to override PKG_UNPACK, HOST_UNPACK

SVN-Revision: 14659
This commit is contained in:
Felix Fietkau 2009-02-25 21:43:04 +00:00
parent 2242545e56
commit e8b6104dde

View file

@ -67,10 +67,10 @@ ifeq ($(strip $(UNPACK_CMD)),)
endif endif
ifdef PKG_BUILD_DIR 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 endif
ifdef HOST_BUILD_DIR 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
endif # PKG_SOURCE endif # PKG_SOURCE