summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"]: