From: Douglas Royds Date: Wed, 2 Oct 2019 05:02:46 +0000 (+1300) Subject: icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~13117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0315aabeff8e6483b737d0e23d6841f1394ad3c8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set We don't have a compiler, so no icecc. Silences a spew of warnings of the form: do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX Signed-off-by: Douglas Royds Signed-off-by: Richard Purdie --- diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 9dbb4b15594..4376aa37dc4 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass @@ -138,6 +138,10 @@ def use_icecc(bb,d): if icecc_is_cross_canadian(bb, d): return "no" + if d.getVar('INHIBIT_DEFAULT_DEPS', False): + # We don't have a compiler, so no icecc + return "no" + pn = d.getVar('PN') bpn = d.getVar('BPN')