1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 20:38:57 +02:00

improve xargs compatibility check (mostly Darwin/Mac OS X related)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11613 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-07-01 21:38:28 +00:00
parent 2cccfb6609
commit bd47d6edf9

View File

@ -39,12 +39,11 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
else \ else \
echo 'FIND_L=find $$(1) -follow' >> $@; \ echo 'FIND_L=find $$(1) -follow' >> $@; \
fi; \ fi; \
if xargs --help 2>&1 | grep 'gnu.org' >/dev/null; then \
echo 'XARGS:=xargs -r' >> $@; \
else \
echo 'XARGS:=xargs' >> $@; \
fi; \
) )
endif endif
ifeq ($(HOST_OS),Linux)
XARGS:=xargs -r
else
XARGS:=xargs
endif