-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
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 \