Skip to contentSkip to conversation

cross-canadian.bbclass: armeb is also gnueabi

PATCH New Peter Seebach 1 participant 2 messages Sep 28, 2015

lore
Share & tools
lore
#0 lore raw

cover cross-canadian.bbclass: armeb is also gnueabi

This only shows up if you're trying to build for an armeb target, symptom of failure is gcc failing because it can't find a supported target with the -gnu suffix instead of -gnueabi.

The following changes since commit 4a1dec5c61f73e7cfa430271ed395094bb262f6b:

multilib: Add TARGET_VENDOR to saved variables list (2015-09-28 11:59:17 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib seebs/armeb
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/armeb

Peter Seebach (1):
cross-canadian.bbclass: big-endian ARM is also gnueabi.

 meta/classes/cross-canadian.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.3.1
#1 lore raw

PATCH 1/1 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.

---
 meta/classes/cross-canadian.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/cross-canadian.bbclass +1 -1
index d30a168..ea17f09 100644
@@ -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")
Signature · 1 line
2.3.1