diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-10 15:11:29 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-10 15:11:29 +0000 |
commit | 553f80893311bd7036d6433975381927aa177684 (patch) | |
tree | 7150dd0d6cb35b9daad4a570b99f2e996fe4c4c3 | |
parent | 771d19f9b64c863526f1f31b7922c2d0d095c804 (diff) |
build: move the XARGS variable out of the host checks, since a working xargs is built in tools/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37228 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/host.mk | 5 | ||||
-rw-r--r-- | rules.mk | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/host.mk b/include/host.mk index b44c1bf1ac..000fb18984 100644 --- a/include/host.mk +++ b/include/host.mk @@ -54,11 +54,6 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk else \ echo "FIND_L=$$FIND \$$(1) -follow" >> $@; \ fi; \ - if xargs --help 2>&1 | grep 'gnu.org' >/dev/null; then \ - echo 'XARGS:=xargs -r' >> $@; \ - else \ - echo 'XARGS:=xargs' >> $@; \ - fi; \ PATCH=`which gpatch 2>/dev/null`; \ [ -n "$$PATCH" -a -x "$$PATCH" ] || PATCH=`which patch 2>/dev/null`; \ echo "PATCH:=$$PATCH" >> $@; \ @@ -207,6 +207,7 @@ KPATCH:=$(SCRIPT_DIR)/patch-kernel.sh SED:=$(STAGING_DIR_HOST)/bin/sed -i -e CP:=cp -fpR LN:=ln -sf +XARGS:=xargs -r INSTALL_BIN:=install -m0755 INSTALL_DIR:=install -d -m0755 |