From 2122cf17170ced9745c8a1b57d336ce73000bd52 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 10 Oct 2006 17:03:38 +0000 Subject: only use --wildcards for gnu tar SVN-Revision: 5022 --- openwrt/include/host.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openwrt/include') diff --git a/openwrt/include/host.mk b/openwrt/include/host.mk index b4580e2..6458881 100644 --- a/openwrt/include/host.mk +++ b/openwrt/include/host.mk @@ -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 + -- cgit v1.1