]> code.ossystems Code Review - openembedded-core.git/commitdiff
siteinfo.bbclass: Add powerpc-linux-gnuspe.
authorLeon Woestenberg <leon@sidebranch.com>
Wed, 11 May 2011 10:11:07 +0000 (12:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 May 2011 15:03:09 +0000 (16:03 +0100)
Re-add powerpc-linux-gnuspe, from OpenEmbedded. Also adds support
to poky.conf so that minimal-core-image builds with DISTRO=poky,

[RP: Synced with recent diso file reoorg]
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/siteinfo.bbclass
meta/conf/distro/include/tclibc-eglibc.inc
meta/conf/distro/include/tclibc-glibc.inc

index 436bc39f4269eceb4cc48c21e880cb264dca0ce7..0b59e578fc686120cf7834c09a009c4d60c87cdc 100644 (file)
@@ -48,6 +48,7 @@ def get_siteinfo_list(d):
                "powerpc-darwin":          "endian-big bit-32 common-darwin",\
                "ppc-linux":               "endian-big bit-32 common-glibc powerpc-common",\ 
               "powerpc-linux":           "endian-big bit-32 common-glibc powerpc-common",\
+               "powerpc-linux-gnuspe":    "endian-big bit-32 common-glibc powerpc-common",\
                "powerpc-linux-uclibc":    "endian-big bit-32 common-uclibc powerpc-common",\
                "sh3-linux":               "endian-little bit-32 common-glibc sh-common",\
                "sh4-linux":               "endian-little bit-32 common-glibc sh-common",\
index 735db7b2d0fb27827a08dde65f8411040b73edb0..a4c648e28e85c50657ae3f130367cfd1c794b231 100644 (file)
@@ -5,6 +5,7 @@
 TARGET_OS = "linux"
 TARGET_OS_arm = "linux-gnueabi"
 TARGET_OS_armeb = "linux-gnueabi"
+TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce500', 'ppce500v2']]}"
 
 # Add glibc overrides to the overrides for eglibc.
 OVERRIDES .= ":libc-glibc"
index 826f545acb58c9ca81bb483fa8367bfe40607e65..e5843b06922cd3e4371e533afb10362db023563a 100644 (file)
@@ -5,6 +5,7 @@
 TARGET_OS = "linux"
 TARGET_OS_arm = "linux-gnueabi"
 TARGET_OS_armeb = "linux-gnueabi"
+TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce500', 'ppce500v2']]}"
 
 # Add glibc to the overrides.
 OVERRIDES =. "libc-glibc:"