Skip to contentSkip to conversation

Re-add powerpc-linux-gnuspe support.

PATCH Applied Leon Woestenberg 3 participants 8 messages May 11, 2011 – May 13, 2011

lore
Share & tools
lore
#0 lore raw

cover Re-add powerpc-linux-gnuspe support.

From: Leon Woestenberg <[email protected]>

(Re-)add powerpc-linux-gnuspe support, as from OpenEmbedded.

Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: likewise/gnuspe
Browse: http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=likewise/gnuspe

Thanks,
Leon Woestenberg <[email protected]>
---

Leon Woestenberg (1):
siteinfo.bbclass: Add powerpc-linux-gnuspe.

 meta/classes/siteinfo.bbclass |    1 +
 meta/conf/distro/poky.conf    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
#1 lore raw

PATCH 1/1 siteinfo.bbclass: Add powerpc-linux-gnuspe.

From: Leon Woestenberg <[email protected]>

Re-add powerpc-linux-gnuspe, from OpenEmbedded. Also adds support to poky.conf so that minimal-core-image builds with DISTRO=poky,

---
 meta/classes/siteinfo.bbclass |    1 +
 meta/conf/distro/poky.conf    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
meta/classes/siteinfo.bbclass +1 -0
index df29097..731ccd1 100644
@@ -47,6 +47,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",\
meta/conf/distro/poky.conf +1 -0
index 71e40de..536fdc9 100644
@@ -55,6 +55,7 @@ KERNEL_CONSOLE = "ttyS0"
 # Default to TARGETOS values for EABI on arm
 GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
 UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
+GLIBCTARGETOS = "linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce500', 'ppce500v2']]}" 
 
 POKYMODE ?= "default"
 require conf/distro/include/poky-${POKYMODE}.inc
Signature · 1 line
1.7.0.4
#2 lore raw

Re: [PATCH 1/1] siteinfo.bbclass: Add powerpc-linux-gnuspe.

Quoted 5 lines · Leon Woestenberg

From: Leon Woestenberg <[email protected]>

Re-add powerpc-linux-gnuspe, from OpenEmbedded. Also adds support to poky.conf so that minimal-core-image builds with DISTRO=poky,

you need to rebase this patch on latest oe-core

Quoted 39 lines

---
 meta/classes/siteinfo.bbclass |    1 +
 meta/conf/distro/poky.conf    |    1 +

 2 files changed, 2 insertions(+), 0 deletions(-)
meta/classes/siteinfo.bbclass +1 -0
index df29097..731ccd1 100644
@@ -47,6 +47,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",\
meta/conf/distro/poky.conf +0 -0
index 71e40de..536fdc9 100644
@@ -55,6 +55,7 @@ KERNEL_CONSOLE = "ttyS0"
  # Default to TARGETOS values for EABI on arm

 GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" +GLIBCTARGETOS = "linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce500', 'ppce500v2']]}"

 POKYMODE ?= "default"
 require conf/distro/include/poky-${POKYMODE}.inc
--
1.7.0.4

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw

Re: [PATCH 1/1] siteinfo.bbclass: Add powerpc-linux-gnuspe.

Quoted 9 lines · Khem Raj
Quoted 5 lines · Leon Woestenberg

From: Leon Woestenberg <[email protected]>

Re-add powerpc-linux-gnuspe, from OpenEmbedded. Also adds support to poky.conf so that minimal-core-image builds with DISTRO=poky,

you need to rebase this patch on latest oe-core

I resolved the conflict when I merged this:

http://git.openembedded.net/cgit.cgi/openembedded-core/commit/?id=701a725d118c1a2edd1e54798d85e864b45e19a2

Cheers,

Richard

#4 lore raw

Re: [PATCH 1/1] siteinfo.bbclass: Add powerpc-linux-gnuspe.

In reply to Khem Raj

Hello Khem,

Quoted 8 lines · Khem Raj
Quoted 3 lines · Leon Woestenberg

From: Leon Woestenberg <[email protected]>
Re-add powerpc-linux-gnuspe, from OpenEmbedded. Also adds support to poky.conf so that minimal-core-image builds with DISTRO=poky,

you need to rebase this patch on latest oe-core

Yes, I was using oe-core-contrib/master as a base, wrongly assuming that that is the correct base for -contrib fixes/additions.

Regards,

Signature · 1 line
Leon
#5 lore raw

Re: [PATCH 1/1] siteinfo.bbclass: Add powerpc-linux-gnuspe.

Quoted 5 lines · Leon Woestenberg

Hello Khem,

Quoted 2 lines · Khem Raj

On Wed, May 11, 2011 at 3:29 AM, Leon Woestenberg
<[email protected]> wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

From: Leon Woestenberg <[email protected]>
Re-add powerpc-linux-gnuspe, from OpenEmbedded. Also adds support to poky.conf so that minimal-core-image builds with DISTRO=poky,

you need to rebase this patch on latest oe-core

Yes, I was using oe-core-contrib/master as a base, wrongly assuming that that is the correct base for -contrib fixes/additions.

To be fair when you wrote the patch, the conflicting distro changes were not in either branch so in that case it didn't matter.

It was easier to take the distro changes and fix this up than the other way around though.

Cheers,

Richard

#6 lore raw

Re: [PATCH 1/1] siteinfo.bbclass: Add powerpc-linux-gnuspe.

Hello Richard,

Quoted 4 lines · Richard Purdie
Quoted 3 lines · Leon Woestenberg
Quoted 2 lines · Khem Raj

you need to rebase this patch on latest oe-core

Quoted 9 lines
Quoted 2 lines

Yes, I was using oe-core-contrib/master as a base, wrongly assuming that that is the correct base for -contrib fixes/additions.

To be fair when you wrote the patch, the conflicting distro changes were not in either branch so in that case it didn't matter.

It was easier to take the distro changes and fix this up than the other way around though.

It takes a while before I will git it all,

Thanks for the patience and help,

Signature · 1 line
Leon
#7 lore raw
In reply to Leon Woestenberg
Quoted 8 lines · Leon Woestenberg

From: Leon Woestenberg <[email protected]>

(Re-)add powerpc-linux-gnuspe support, as from OpenEmbedded.

Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: likewise/gnuspe
Browse: http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=likewise/gnuspe

Quoted 7 lines

Thanks,
Leon Woestenberg <[email protected]>
---

Leon Woestenberg (1):
siteinfo.bbclass: Add powerpc-linux-gnuspe.

Merged to master but I had to sync this up against the recent distro config files re-org.

Cheers,

Richard