[oe-commits] Tom Rini : angstrom-eglibc.inc: Update SPE check

git version control git at git.openembedded.org
Wed Sep 15 13:52:34 UTC 2010


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

Author: Tom Rini <tom_rini at mentor.com>
Date:   Tue Sep 14 17:24:05 2010 -0700

angstrom-eglibc.inc: Update SPE check

Use BASE_PACKAGE_ARCH to determine if we should be SPE, or not
which is what sane-toolchain.inc does.  This saves us having to
update this file every time a new e500 machine is added.

Acked-by: Koen Kooi <k-kooi at ti.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 conf/distro/include/angstrom-eglibc.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
index fe83aa3..4b059fc 100644
--- a/conf/distro/include/angstrom-eglibc.inc
+++ b/conf/distro/include/angstrom-eglibc.inc
@@ -9,7 +9,7 @@ TARGET_OS = "linux"
 #TARGET_OS = "${@compute_os_portion_of_target_triplet(d)}"
 
 TARGET_OS .= "${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
-TARGET_OS .= "${@['','-gnuspe'][bb.data.getVar('TARGET_ARCH',d,1) in ['ppc', 'powerpc'] and bb.data.getVar('MACHINE',d) in ['calamari','p1020rdb','p2020rdb']]}"
+TARGET_OS .= "${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce500', 'ppce500v2']]}"
 
 # perl has some problems, see http://bugs.openembedded.net/show_bug.cgi?id=1616
 # [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"





More information about the Openembedded-commits mailing list