summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Royds <douglas.royds@taitradio.com>2019-10-02 18:02:46 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-02 20:22:02 +0100
commit0315aabeff8e6483b737d0e23d6841f1394ad3c8 (patch)
tree80aad9505cca3de582ed4c7c5adac7bb22ec1c5f
parent91efc50723229672b6e8187b69b183cba525f199 (diff)
downloadopenembedded-core-contrib-0315aabeff8e6483b737d0e23d6841f1394ad3c8.tar.gz
openembedded-core-contrib-0315aabeff8e6483b737d0e23d6841f1394ad3c8.tar.bz2
openembedded-core-contrib-0315aabeff8e6483b737d0e23d6841f1394ad3c8.zip
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 <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/icecc.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 9dbb4b1559..4376aa37dc 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')