[OE-core] [PATCH] icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set
Douglas Royds
douglas.royds at taitradio.com
Wed Oct 2 05:02:46 UTC 2019
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 at taitradio.com>
---
meta/classes/icecc.bbclass | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index e74d798fd0..bc3d6f4cc8 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')
--
2.17.1
More information about the Openembedded-core
mailing list