[oe] [PATCH] Support for powerpc-gnuspe for angstrom-eglibc

Leon Woestenberg leon.woestenberg at gmail.com
Mon Jul 20 08:44:20 UTC 2009


The calamari machine uses a PowerPC E500 core, which has the (GNU)SPE
ABI for it's signal processing extensions.
This is the default ABI for Linux, so let's enable it.

This should not affect any other machines and/or architectures.

Tested-by: Leon Woestenberg <leon at sidebranch.com>
Signed-off-by: Leon Woestenberg <leon at sidebranch.com>

diff --git a/conf/distro/include/angstrom-eglibc.inc
b/conf/distro/include/angstrom-eglibc.inc
index 92e2233..e947833 100644
--- a/conf/distro/include/angstrom-eglibc.inc
+++ b/conf/distro/include/angstrom-eglibc.inc
@@ -3,6 +3,8 @@ require conf/distro/include/eglibc.inc

 TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)
in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in
['collie','h3600', 'h3800', 'simpad', 'ht

+TARGET_OS = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_ARCH',d,1)
in ['ppc', 'powerpc'] and bb.data.getVar('MACHINE',d) in
['calamari']]}"
+
 #TARGET_OS = "linux-gnuspe"

 #mess with compiler flags to use -Os instead of -O2


-- 
Leon




More information about the Openembedded-devel mailing list