]> code.ossystems Code Review - openembedded-core.git/commitdiff
icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set
authorDouglas Royds <douglas.royds@taitradio.com>
Wed, 2 Oct 2019 05:02:46 +0000 (18:02 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Oct 2019 19:22:02 +0000 (20:22 +0100)
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 <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/icecc.bbclass

index 9dbb4b155947695bd900a4b23246278d3312b56a..4376aa37dc4767176980a32672ce94a8603b5325 100644 (file)
@@ -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')