Changeset 37228


Ignore:
Timestamp:
2013-07-10T17:11:29+02:00 (5 years ago)
Author:
nbd
Message:

build: move the XARGS variable out of the host checks, since a working xargs is built in tools/

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/host.mk

    r35900 r37228  
    5555                        echo "FIND_L=$$FIND \$$(1) -follow" >> $@; \ 
    5656                fi; \ 
    57                 if xargs --help 2>&1 | grep 'gnu.org' >/dev/null; then \ 
    58                         echo 'XARGS:=xargs -r' >> $@; \ 
    59                 else \ 
    60                         echo 'XARGS:=xargs' >> $@; \ 
    61                 fi; \ 
    6257                PATCH=`which gpatch 2>/dev/null`; \ 
    6358                [ -n "$$PATCH" -a -x "$$PATCH" ] || PATCH=`which patch 2>/dev/null`; \ 
  • trunk/rules.mk

    r37225 r37228  
    208208CP:=cp -fpR 
    209209LN:=ln -sf 
     210XARGS:=xargs -r 
    210211 
    211212INSTALL_BIN:=install -m0755 
Note: See TracChangeset for help on using the changeset viewer.