build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39979
This commit is contained in:
parent
2ba3e0ebe6
commit
00bcebeb4c
2 changed files with 2 additions and 6 deletions
|
@ -11,6 +11,8 @@ ifneq ($(HOST_OS),Linux)
|
||||||
else
|
else
|
||||||
HOST_TAR:=$(TAR)
|
HOST_TAR:=$(TAR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TAR_OPTIONS:=-xf -
|
||||||
TAR_CMD=$(HOST_TAR) -C $(1)/.. $(TAR_OPTIONS)
|
TAR_CMD=$(HOST_TAR) -C $(1)/.. $(TAR_OPTIONS)
|
||||||
UNZIP_CMD=unzip -d $(1)/.. $(DL_DIR)/$(PKG_SOURCE)
|
UNZIP_CMD=unzip -d $(1)/.. $(DL_DIR)/$(PKG_SOURCE)
|
||||||
|
|
||||||
|
|
6
rules.mk
6
rules.mk
|
@ -272,12 +272,6 @@ else
|
||||||
DISABLE_IPV6:=--disable-ipv6
|
DISABLE_IPV6:=--disable-ipv6
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_TAR_VERBOSITY),y)
|
|
||||||
TAR_OPTIONS:=-xvf -
|
|
||||||
else
|
|
||||||
TAR_OPTIONS:=-xf -
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_BUILD_LOG),y)
|
ifeq ($(CONFIG_BUILD_LOG),y)
|
||||||
BUILD_LOG:=1
|
BUILD_LOG:=1
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue