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:25 +0100
commit8946c65c8f018da81fd365f8cc99605d02c3442a (patch)
tree5918666d76dfd45f825efd504193fd25371f46d0
parentfb427f4f5c90d10f85ddad160e78209ed2b8100d (diff)
downloadpoky-8946c65c8f018da81fd365f8cc99605d02c3442a.tar.gz
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 (From OE-Core rev: 0315aabeff8e6483b737d0e23d6841f1394ad3c8) 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):
138 if icecc_is_cross_canadian(bb, d): 138 if icecc_is_cross_canadian(bb, d):
139 return "no" 139 return "no"
140 140
141 if d.getVar('INHIBIT_DEFAULT_DEPS', False):
142 # We don't have a compiler, so no icecc
143 return "no"
144
141 pn = d.getVar('PN') 145 pn = d.getVar('PN')
142 bpn = d.getVar('BPN') 146 bpn = d.getVar('BPN')
143 147