Skip to contentSkip to conversation

Support for powerpc-gnuspe for angstrom-eglibc

PATCH In review Leon Woestenberg 2 participants 2 messages Jul 20, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support for powerpc-gnuspe for angstrom-eglibc

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.

(quoted diff) +0 -0

b/conf/distro/include/angstrom-eglibc.inc
index 92e2233..e947833 100644

conf/distro/include/angstrom-eglibc.inc +0 -0
@@ -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

Signature · 1 line
Leon