summaryrefslogtreecommitdiff
path: root/conf/distro
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-10-07 12:02:12 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-10-07 13:22:37 +0200
commit11bbf20b6c4636b27ac1f24b00ff99e5c14c2d3a (patch)
tree70647e70ae02c3f907d70094237b5a2c4946afee /conf/distro
parenta2b84d862d8a0d79714aa64edb4d1e0ccda4a038 (diff)
angstrom-*libc.inc : fix the TARGET_OS definitions for non eabi/spe targets.
This is required because of changes in class/siteinfo.bbclass
Diffstat (limited to 'conf/distro')
-rw-r--r--conf/distro/include/angstrom-eglibc.inc6
-rw-r--r--conf/distro/include/angstrom-glibc.inc3
2 files changed, 5 insertions, 4 deletions
diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
index 2a1b7b059c..ab3606dcca 100644
--- a/conf/distro/include/angstrom-eglibc.inc
+++ b/conf/distro/include/angstrom-eglibc.inc
@@ -1,10 +1,10 @@
# eglibc:
require conf/distro/include/eglibc.inc
-TARGET_OS = "linux"
+TARGET_OS = "linux-gnu"
-TARGET_OS .= "${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
-TARGET_OS .= "${@['','-gnuspe'][bb.data.getVar('TARGET_ARCH',d,1) in ['ppc', 'powerpc'] and bb.data.getVar('MACHINE',d) in ['calamari']]}"
+TARGET_OS .= "${@['','eabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
+TARGET_OS .= "${@['','spe'][bb.data.getVar('TARGET_ARCH',d,1) in ['ppc', 'powerpc'] and bb.data.getVar('MACHINE',d) in ['calamari']]}"
#TARGET_OS = "linux-gnuspe"
diff --git a/conf/distro/include/angstrom-glibc.inc b/conf/distro/include/angstrom-glibc.inc
index 287bd9bd77..544ee4a013 100644
--- a/conf/distro/include/angstrom-glibc.inc
+++ b/conf/distro/include/angstrom-glibc.inc
@@ -3,7 +3,8 @@ require conf/distro/include/glibc.inc
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
-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', 'htcwallaby']]}"
+TARGET_OS = "linux-gnu"
+TARGET_OS .= "${@['','eabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
#mess with compiler flags to use -Os instead of -O2
#Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info