[oe-commits] [openembedded-core] 05/07: icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set

git at git.openembedded.org git at git.openembedded.org
Wed Oct 2 13:19:28 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit fc29ec58dfac425799330865eb2fbed63b59c504
Author: Douglas Royds <douglas.royds at taitradio.com>
AuthorDate: Wed Oct 2 18:02:46 2019 +1300

    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 at taitradio.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/icecc.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 9dbb4b1..4376aa3 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')
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list