partially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk"
This complicates the evaluation order for some packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40006 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
58933441da
commit
e7a9ff8b70
|
@ -31,7 +31,7 @@ Kernel/Patch:=$(Kernel/Patch/Default)
|
|||
ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
|
||||
ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
|
||||
define Kernel/Prepare/Default
|
||||
xzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) -xf -
|
||||
xzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
|
||||
$(Kernel/Patch)
|
||||
touch $(LINUX_DIR)/.quilt_used
|
||||
endef
|
||||
|
|
|
@ -11,8 +11,6 @@ ifneq ($(HOST_OS),Linux)
|
|||
else
|
||||
HOST_TAR:=$(TAR)
|
||||
endif
|
||||
|
||||
TAR_OPTIONS:=-xf -
|
||||
TAR_CMD=$(HOST_TAR) -C $(1)/.. $(TAR_OPTIONS)
|
||||
UNZIP_CMD=unzip -d $(1)/.. $(DL_DIR)/$(PKG_SOURCE)
|
||||
|
||||
|
|
Loading…
Reference in New Issue