From 0278c7804604ab82a3083180b181eca636cae4e8 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 14 Sep 2010 17:24:05 -0700 Subject: 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 Signed-off-by: Tom Rini --- conf/distro/include/angstrom-eglibc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit 1.2.3-korg