summaryrefslogtreecommitdiff
path: root/conf/distro
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-09-14 17:24:05 -0700
committerTom Rini <tom_rini@mentor.com>2010-09-15 06:52:01 -0700
commit0278c7804604ab82a3083180b181eca636cae4e8 (patch)
tree3dd7936d661ad5fd937d13bce8bf6cc355610cc9 /conf/distro
parent8e2d76c1560e304f0370cbd0dd9c14342dc9b947 (diff)
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@ti.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'conf/distro')
-rw-r--r--conf/distro/include/angstrom-eglibc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
index fe83aa36d8..4b059fc964 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"