icecc: Use bb.utils.which instead of calling which
authorTobias Henkel <tobias.henkel@bmw-carit.de>
Fri, 15 Nov 2013 07:36:41 +0000 (08:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Nov 2013 14:03:27 +0000 (14:03 +0000)
commitf08ebc50e6567b25fd6abe68687ecd81fb23a664
treebd27903c20cb39f002d3cdcf34b97db0df06d1f0
parent7af9f725ea519e6c1d874c544974f2ca724619e0
icecc: Use bb.utils.which instead of calling which

The icecc class often calls 'which' for determining paths. This leads
to many messages on stderr in case 'which' doesn't find the
executable. Using bb.utils.which is more appropriate here and doesn't
pollute stderr.

(From OE-Core rev: 7ed7aa38182ce8c7300a08e3aefcc65da2b524a8)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/icecc.bbclass