[oe-commits] Khem Raj : sane-toolchain.inc: Check for architectures which dont support EABI

git version control git at git.openembedded.org
Tue Jul 20 19:22:40 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8f57e8ee924f945f8d56b74ad3f609de6deaef4c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8f57e8ee924f945f8d56b74ad3f609de6deaef4c

Author: Khem Raj <raj.khem at gmail.com>
Date:   Mon Jul 19 22:10:20 2010 -0700

sane-toolchain.inc: Check for architectures which dont support EABI

* This patch reverses the check for EABI support. This would mean
  that future processors will not have to be added everytime they
  come out.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Acked-by: Stefan Schmidt <stefan at datenfreihafen.org>

---

 conf/distro/include/sane-toolchain.inc |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc
index 08fc077..de73922 100644
--- a/conf/distro/include/sane-toolchain.inc
+++ b/conf/distro/include/sane-toolchain.inc
@@ -153,8 +153,7 @@ def detect_arm_abi (d):
 
 def compute_os_portion_of_target_triplet (d):
 	import bb
-	arm_eabi_supporting_arches = "armv6 armv6-novfp \
-	armv5te iwmmxt armv7a armv7 armv5teb armv4t armv4"
+	arm_eabi_unsupported_arches = "armv1 armv2 armv3"
 	ppc_spe_supporting_arches = "ppce500v2 ppce500"
 	gnu_suffix = ""
 	if bb.data.getVar('LIBC', d, 1) == "uclibc":
@@ -175,7 +174,7 @@ def compute_os_portion_of_target_triplet (d):
 	bparch is not None:
 		if 'eabi' in bb.data.getVar('DISTRO_FEATURES',d,1).split() and \
 		bb.data.getVar('TARGET_ARCH', d, 1) in [ 'arm', 'armeb' ]:
-			if bparch not in arm_eabi_supporting_arches.split():
+			if bparch in arm_eabi_unsupported_arches.split():
 				bb.fatal("DISTRO requested EABI but selected machine does not support EABI")
 				abi_suffix = ""
 			else:





More information about the Openembedded-commits mailing list