summaryrefslogtreecommitdiff
path: root/scripts/Makefile.autoconf
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-11-19 12:04:59 +0000
committerTom Rini <trini@konsulko.com>2016-11-28 15:10:35 -0500
commitd0fc6dc5e9aecf133845ddf338657ac69db506ef (patch)
tree7c7c9c8262f1367ab857e148156ec6a4fbd104f6 /scripts/Makefile.autoconf
parent979a1f8b21aded450d34bddbc99804f7e6489622 (diff)
downloadu-boot-imx-d0fc6dc5e9aecf133845ddf338657ac69db506ef.zip
u-boot-imx-d0fc6dc5e9aecf133845ddf338657ac69db506ef.tar.gz
u-boot-imx-d0fc6dc5e9aecf133845ddf338657ac69db506ef.tar.bz2
tools/Makefile: suppress "which swig" error output
The Makefile in tools/ tries to find the "swig" utility by calling "which". If nothing is found in the path, some versions of which will print an error message: $ make clean which: no swig in (/usr/local/bin:/usr/bin:/bin) This does not apply to all version of "which", though: $ echo $0 bash $ type which which is aliased to `type -path' $ which foo <== this version is OK $ /usr/bin/which foo <== this one is chatty /usr/bin/which: no foo in (/usr/local/bin:/usr/bin:/bin) $ sh <== make uses /bin/sh sh-4.3$ which foo <== no alias here which: no foo in (/usr/local/bin:/usr/bin:/bin) This error message is rather pointless in our case, since we just have this very check to care for this. So add stderr redirection to suppress the message. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/Makefile.autoconf')
0 files changed, 0 insertions, 0 deletions