summaryrefslogtreecommitdiff
path: root/meta/classes/cross-canadian.bbclass
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2015-08-22 09:55:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:34:11 +0100
commit16a21e088fd3368ecf90a7bfe88630e4543b6000 (patch)
tree67290284603f3a70cd182a0252e219dc7935b98d /meta/classes/cross-canadian.bbclass
parent53153b9fd1ba56ca3df19d895d365054a5ecd50f (diff)
downloadopenembedded-core-16a21e088fd3368ecf90a7bfe88630e4543b6000.tar.gz
openembedded-core-16a21e088fd3368ecf90a7bfe88630e4543b6000.tar.bz2
openembedded-core-16a21e088fd3368ecf90a7bfe88630e4543b6000.zip
cross-canadian.bbclass: support for TCLIBC="baremetal"
Allow "baremetal" builds. (From OE-Core rev: 0cd3121058ea620c74622f1200c8040696b4d1d8) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r--meta/classes/cross-canadian.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 80fb472b42..65ba4572cd 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -29,6 +29,9 @@ python () {
if d.getVar("MODIFYTOS", True) != "1":
return
+ if d.getVar("TCLIBC", True) == "baremetal":
+ return
+
tos = d.getVar("TARGET_OS", True)
whitelist = []
for variant in ["", "spe", "x32", "eabi", "n32"]: