X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Funpack.mk;h=a139827490f53b063a424ab0029ae7580fe7f409;hp=3fabf460336b711a8e413927c901c8a581a7eb46;hb=b6c134f254fcc60d0474e037af5e62c94931d743;hpb=7002f6326e9dcd4cb3272763ba9b9debd9f3a60d diff --git a/include/unpack.mk b/include/unpack.mk index 3fabf46033..a139827490 100644 --- a/include/unpack.mk +++ b/include/unpack.mk @@ -5,14 +5,9 @@ # See /LICENSE for more information. # -# unpacking files with +s may break on some platforms. this typically emits error code 2 -ifneq ($(HOST_OS),Linux) - HOST_TAR:=trapret 2 $(TAR) -else - HOST_TAR:=$(TAR) -endif +HOST_TAR:=$(TAR) TAR_CMD=$(HOST_TAR) -C $(1)/.. $(TAR_OPTIONS) -UNZIP_CMD=unzip -d $(1)/.. $(DL_DIR)/$(PKG_SOURCE) +UNZIP_CMD=unzip -q -d $(1)/.. $(DL_DIR)/$(PKG_SOURCE) ifeq ($(PKG_SOURCE),) PKG_UNPACK ?= true