[oe-commits] [openembedded-core] 03/11: icecc.bbclass: Skip canadian-cross compiles

git at git.openembedded.org git at git.openembedded.org
Thu Feb 15 13:30:40 UTC 2018


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

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

commit b8a39cf5884d4ab85e82c4437b81b5fbba06137e
Author: Joshua Watt <jpewhacker at gmail.com>
AuthorDate: Mon Feb 12 10:51:58 2018 -0600

    icecc.bbclass: Skip canadian-cross compiles
    
    icecc.bbclass will no longer attempt to distribute cross-canadian
    compiles. While it is technically possible to generate a toolchain that runs
    on the build system and generates executables for the host system, this
    is not the normal way that icecc operates. There are so few of these
    recipes that it is probably not worth maintaining a distinct code path
    for them.
    
    Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/icecc.bbclass | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 35a1aae..9d5eaed 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -101,6 +101,9 @@ def use_icecc(bb,d):
     if icecc_is_allarch(bb, d):
         return "no"
 
+    if icecc_is_cross_canadian(bb, d):
+        return "no"
+
     pn = d.getVar('PN')
 
     system_class_blacklist = []
@@ -151,6 +154,9 @@ def icecc_is_native(bb, d):
         bb.data.inherits_class("cross", d) or \
         bb.data.inherits_class("native", d);
 
+def icecc_is_cross_canadian(bb, d):
+    return bb.data.inherits_class("cross-canadian", d)
+
 def icecc_dir(bb, d):
     return d.expand('${TMPDIR}/work-shared/ice')
 

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


More information about the Openembedded-commits mailing list