Andre Przywara
d0fc6dc5e9
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 >
2016-11-28 15:10:35 -05:00
..
2016-11-06 07:33:41 -05:00
2016-10-09 09:30:32 -06:00
2015-11-10 09:19:52 -05:00
2016-10-08 09:33:34 -04:00
2014-02-19 11:07:50 -05:00
2014-01-24 16:59:07 -05:00
2016-09-06 18:22:48 +02:00
2013-07-24 09:44:38 -04:00
2016-10-09 09:30:32 -06:00
2016-06-13 07:46:29 +09:00
2016-05-13 11:25:59 -04:00
2016-05-27 15:47:56 -04:00
2015-01-29 13:38:41 -05:00
2013-10-14 16:06:53 -04:00
2016-05-02 18:37:09 -04:00
2016-05-02 18:37:09 -04:00
2016-03-22 12:16:13 -04:00
2013-08-10 10:48:00 +02:00
2016-06-24 17:23:10 -04:00
2015-01-29 13:38:41 -05:00
2014-06-19 11:19:04 -04:00
2013-07-24 09:44:38 -04:00
2014-03-21 16:40:38 -04:00
2016-10-06 20:57:40 -04:00
2015-10-24 13:50:30 -04:00
2014-06-11 16:25:46 -04:00
2014-06-11 16:25:46 -04:00
2016-11-06 07:33:42 -05:00
2014-08-14 11:20:24 +02:00
2015-09-28 10:48:25 -04:00
2016-05-27 15:47:56 -04:00
2013-07-24 09:44:38 -04:00
2010-01-26 00:07:13 +01:00
2014-04-17 17:24:38 -04:00
2015-01-29 13:38:41 -05:00
2015-01-29 13:38:41 -05:00
2015-09-09 07:48:03 -06:00
2014-12-13 22:32:04 -07:00
2016-11-21 14:07:31 -05:00
2016-06-24 17:23:10 -04:00
2016-11-06 07:33:42 -05:00
2013-10-14 16:06:54 -04:00
2009-11-24 23:43:18 +01:00
2016-11-05 07:27:44 -04:00
2016-10-24 10:57:16 +02:00
2010-07-25 15:17:23 -04:00
2015-11-29 16:02:44 +01:00
2015-11-29 16:02:44 +01:00
2016-08-26 08:42:50 +02:00
2015-04-10 14:23:26 +02:00
2016-11-28 15:10:35 -05:00
2014-12-18 17:26:08 -07:00
2016-01-13 12:20:14 +08:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:45:01 -04:00
2015-03-28 12:07:47 -04:00
2015-10-24 13:50:30 -04:00
2016-11-06 07:33:42 -05:00
2014-06-19 11:19:04 -04:00
2016-10-30 11:38:04 +01:00
2016-10-24 08:04:42 -04:00
2016-02-21 11:09:19 +01:00
2015-01-29 13:38:41 -05:00
2014-11-20 10:13:45 +01:00
2009-04-28 01:16:46 +02:00
2012-09-24 13:17:24 -05:00
2015-01-29 13:38:41 -05:00
2014-04-17 17:24:38 -04:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:45:01 -04:00
2014-06-05 14:38:38 -04:00
2014-06-05 14:38:38 -04:00
2016-10-14 10:21:30 -07:00
2013-10-14 16:06:53 -04:00
2015-11-16 17:22:18 -05:00
2014-02-13 15:16:47 +01:00
2016-07-25 20:46:45 -06:00
2015-12-13 17:07:29 -07:00
2016-05-27 10:23:07 -06:00
2016-01-21 20:42:37 -07:00
2015-12-13 17:07:29 -07:00
2016-01-08 07:59:06 -07:00
2015-01-29 13:38:41 -05:00
2015-01-29 13:38:41 -05:00
2013-10-14 16:06:53 -04:00
2014-06-19 11:19:04 -04:00
2016-10-06 09:06:16 +02:00
2011-07-31 23:25:41 +09:00
2016-11-15 15:27:37 +01:00
2016-11-15 15:27:45 +01:00