only use --wildcards for gnu tar

SVN-Revision: 5022
This commit is contained in:
Felix Fietkau
2006-10-10 17:03:38 +00:00
parent 6d7097f899
commit 2122cf1717
2 changed files with 6 additions and 1 deletions

View File

@@ -22,3 +22,7 @@ $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
-e 's/cris.*/cris/' \
-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" >> $@; \
fi