X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Funpack.mk;h=a139827490f53b063a424ab0029ae7580fe7f409;hb=9300eda00fa91fda22cea56677db5dfa2371ddcb;hp=2b33c4cd8ea214b767d33e0f2c22b3adb38dc6f1;hpb=00bcebeb4cabcaa630ee940f8bd15d29a563afa6;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/include/unpack.mk b/include/unpack.mk index 2b33c4cd8e..a139827490 100644 --- a/include/unpack.mk +++ b/include/unpack.mk @@ -1,20 +1,13 @@ -# +# # Copyright (C) 2006-2007 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # 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 - -TAR_OPTIONS:=-xf - +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