diff --git a/include/unpack.mk b/include/unpack.mk index 2d358630951..2b33c4cd8ea 100644 --- a/include/unpack.mk +++ b/include/unpack.mk @@ -11,6 +11,8 @@ 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) diff --git a/rules.mk b/rules.mk index 5d632273399..0769a092782 100644 --- a/rules.mk +++ b/rules.mk @@ -272,12 +272,6 @@ else DISABLE_IPV6:=--disable-ipv6 endif -ifeq ($(CONFIG_TAR_VERBOSITY),y) - TAR_OPTIONS:=-xvf - -else - TAR_OPTIONS:=-xf - -endif - ifeq ($(CONFIG_BUILD_LOG),y) BUILD_LOG:=1 endif