summaryrefslogtreecommitdiff
path: root/meta/classes/cross-canadian.bbclass
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2015-09-28 15:48:07 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 15:15:48 +0100
commitd2e1cf176b2a705f3e4bd4ab7c35bb1de5dc6985 (patch)
treeffef8cc6f872e5257af8e494c1ba16b854cf2c57 /meta/classes/cross-canadian.bbclass
parent0efdd2236ec7f16f99847c6c372f372f81c56869 (diff)
downloadopenembedded-core-d2e1cf176b2a705f3e4bd4ab7c35bb1de5dc6985.tar.gz
openembedded-core-d2e1cf176b2a705f3e4bd4ab7c35bb1de5dc6985.tar.bz2
openembedded-core-d2e1cf176b2a705f3e4bd4ab7c35bb1de5dc6985.zip
cross-canadian.bbclass: big-endian ARM is also gnueabi.
If building for a BE8 ARM target, arch is "armeb" rather than "arm", but ABI should still be "gnueabi". Otherwise gcc won't build. Signed-off-by: Peter Seebach <peter.seebach@windriver.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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index d30a1687b3..ea17f09bca 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -67,7 +67,7 @@ python () {
d.appendVar("CANADIANEXTRAOS", " linux-gnuspe linux-uclibcspe linux-muslspe")
elif tarch == "mips64":
d.appendVar("CANADIANEXTRAOS", " linux-gnun32 linux-uclibcn32 linux-musln32")
- if tarch == "arm":
+ if tarch == "arm" or tarch == "armeb":
d.setVar("TARGET_OS", "linux-gnueabi")
else:
d.setVar("TARGET_OS", "linux")