mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:03:08 +02:00
don't touch TAR_OPTIONS in host.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5024 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ba9d778c97
commit
3d124095e9
@ -23,6 +23,6 @@ $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
|
||||
-e 's/i[3-9]86/i386/'`" >> $@
|
||||
@echo "GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@
|
||||
@if tar --version 2>&1 | grep 'GNU' >/dev/null; then \
|
||||
echo "TAR_OPTIONS+=--wildcards" >> $@; \
|
||||
echo "TAR_WILDCARDS:=--wildcards" >> $@; \
|
||||
fi
|
||||
|
||||
|
@ -32,7 +32,7 @@ LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
|
||||
|
||||
define Build/Prepare
|
||||
mkdir -p $(TOOLCHAIN_BUILD_DIR)
|
||||
bzcat $(DL_DIR)/$(PKG_SOURCE) | tar -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) - \
|
||||
bzcat $(DL_DIR)/$(PKG_SOURCE) | tar $(TAR_WILDCARDS) -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) - \
|
||||
linux-$(PKG_VERSION)/include \
|
||||
linux-$(PKG_VERSION)/Makefile \
|
||||
linux-$(PKG_VERSION)/Rules.make \
|
||||
|
Loading…
Reference in New Issue
Block a user