fix problems with new tar versions, closes #628 and #646

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4185 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Imre Kaloz
2006-07-21 10:50:12 +00:00
parent 90f866c551
commit 9a0b5fe9e3
2 changed files with 24 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
define Build/Prepare
mkdir -p $(TOOL_BUILD_DIR)
bzcat $(DL_DIR)/$(PKG_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - \
bzcat $(DL_DIR)/$(PKG_SOURCE) | tar --wildcards -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - \
linux-$(PKG_VERSION)/include \
linux-$(PKG_VERSION)/Makefile \
linux-$(PKG_VERSION)/Rules.make \