summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2011-05-11 12:11:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-11 16:03:09 +0100
commit701a725d118c1a2edd1e54798d85e864b45e19a2 (patch)
treea7ac78016fc06e5631dd43ab34c64690eabe5439
parentea3a8915c4f3e7f222bf9b766e0f71471ce6ad93 (diff)
downloadopenembedded-core-701a725d118c1a2edd1e54798d85e864b45e19a2.tar.gz
openembedded-core-701a725d118c1a2edd1e54798d85e864b45e19a2.tar.bz2
openembedded-core-701a725d118c1a2edd1e54798d85e864b45e19a2.zip
siteinfo.bbclass: Add powerpc-linux-gnuspe.
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>
-rw-r--r--meta/classes/siteinfo.bbclass1
-rw-r--r--meta/conf/distro/include/tclibc-eglibc.inc1
-rw-r--r--meta/conf/distro/include/tclibc-glibc.inc1
3 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index 436bc39f42..0b59e578fc 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -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",\
diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc
index 735db7b2d0..a4c648e28e 100644
--- a/meta/conf/distro/include/tclibc-eglibc.inc
+++ b/meta/conf/distro/include/tclibc-eglibc.inc
@@ -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"
diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc
index 826f545acb..e5843b0692 100644
--- a/meta/conf/distro/include/tclibc-glibc.inc
+++ b/meta/conf/distro/include/tclibc-glibc.inc
@@ -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:"