* [PATCH 0/5] Add support for powerpc64
@ 2011-07-22 9:24 Kumar Gala
2011-07-22 9:24 ` [PATCH 1/5] insane.bbclass: Recognise powerpc64 Kumar Gala
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Kumar Gala @ 2011-07-22 9:24 UTC (permalink / raw)
To: openembedded-core
Add various cleanups to core scripts and packages that are needed for
building for a 64-bit powerpc target.
- k
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/5] insane.bbclass: Recognise powerpc64
2011-07-22 9:24 [PATCH 0/5] Add support for powerpc64 Kumar Gala
@ 2011-07-22 9:24 ` Kumar Gala
2011-07-22 9:24 ` [PATCH 2/5] libc: Add handling of powerpc64 Kumar Gala
2011-07-22 10:53 ` [PATCH 0/5] Add support for powerpc64 Richard Purdie
2011-07-22 14:19 ` Tom Rini
2 siblings, 1 reply; 11+ messages in thread
From: Kumar Gala @ 2011-07-22 9:24 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
meta/classes/insane.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 65eda9e..d56c9ed 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -38,6 +38,7 @@ def package_qa_get_machine_dict():
"arm" : (40, 97, 0, True, 32),
"armeb": (40, 97, 0, False, 32),
"powerpc": (20, 0, 0, False, 32),
+ "powerpc64": (21, 0, 0, False, 64),
"i386": ( 3, 0, 0, True, 32),
"i486": ( 3, 0, 0, True, 32),
"i586": ( 3, 0, 0, True, 32),
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/5] libc: Add handling of powerpc64
2011-07-22 9:24 ` [PATCH 1/5] insane.bbclass: Recognise powerpc64 Kumar Gala
@ 2011-07-22 9:24 ` Kumar Gala
2011-07-22 9:24 ` [PATCH 3/5] kernel-arch: " Kumar Gala
0 siblings, 1 reply; 11+ messages in thread
From: Kumar Gala @ 2011-07-22 9:24 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
meta/classes/libc-package.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 7cfeb7d..de57230 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -266,6 +266,7 @@ python package_do_split_gconvs () {
locale_arch_options = { \
"arm": " --uint32-align=4 --little-endian ", \
"powerpc": " --uint32-align=4 --big-endian ", \
+ "powerpc64": " --uint32-align=4 --big-endian ", \
"mips": " --uint32-align=4 --big-endian ", \
"mipsel": " --uint32-align=4 --little-endian ", \
"i586": " --uint32-align=4 --little-endian ", \
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/5] kernel-arch: Add handling of powerpc64
2011-07-22 9:24 ` [PATCH 2/5] libc: Add handling of powerpc64 Kumar Gala
@ 2011-07-22 9:24 ` Kumar Gala
2011-07-22 9:24 ` [PATCH 4/5] libart-lgpl: Add missing config file - allows builds on PowerPC 64 Kumar Gala
2011-07-22 14:16 ` [PATCH 3/5] kernel-arch: Add handling of powerpc64 Tom Rini
0 siblings, 2 replies; 11+ messages in thread
From: Kumar Gala @ 2011-07-22 9:24 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
meta/classes/kernel-arch.bbclass | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 86c15d3..225d599 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -6,7 +6,7 @@
valid_archs = "alpha cris ia64 \
i386 x86 \
- m68knommu m68k ppc powerpc ppc64 \
+ m68knommu m68k ppc powerpc powerpc64 ppc64 \
sparc sparc64 \
arm arm26 \
m32r mips \
@@ -24,6 +24,7 @@ def map_kernel_arch(a, d):
elif re.match('arm26$', a): return 'arm26'
elif re.match('armeb$', a): return 'arm'
elif re.match('mipsel$', a): return 'mips'
+ elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc'
elif re.match('sh(3|4)$', a): return 'sh'
elif re.match('bfin', a): return 'blackfin'
elif re.match('microblazeel', a): return 'microblaze'
@@ -36,7 +37,7 @@ export ARCH = "${@map_kernel_arch(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
def map_uboot_arch(a, d):
import re
- if re.match('powerpc$', a): return 'ppc'
+ if re.match('p(pc|owerpc)(|64)', a): return 'ppc'
elif re.match('i.86$', a): return 'x86'
return a
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/5] libart-lgpl: Add missing config file - allows builds on PowerPC 64
2011-07-22 9:24 ` [PATCH 3/5] kernel-arch: " Kumar Gala
@ 2011-07-22 9:24 ` Kumar Gala
2011-07-22 9:24 ` [PATCH 5/5] openssl: Add handling for building on linux-powerpc64 Kumar Gala
2011-07-22 14:16 ` [PATCH 3/5] kernel-arch: Add handling of powerpc64 Tom Rini
1 sibling, 1 reply; 11+ messages in thread
From: Kumar Gala @ 2011-07-22 9:24 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
.../gnome/libart-lgpl/powerpc64/art_config.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
create mode 100644 meta/recipes-gnome/gnome/libart-lgpl/powerpc64/art_config.h
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/powerpc64/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/powerpc64/art_config.h
new file mode 100644
index 0000000..500ffc3
--- /dev/null
+++ b/meta/recipes-gnome/gnome/libart-lgpl/powerpc64/art_config.h
@@ -0,0 +1,10 @@
+/* Automatically generated by gen_art_config.c */
+
+#define ART_SIZEOF_CHAR 1
+#define ART_SIZEOF_SHORT 2
+#define ART_SIZEOF_INT 4
+#define ART_SIZEOF_LONG 8
+
+typedef unsigned char art_u8;
+typedef unsigned short art_u16;
+typedef unsigned int art_u32;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/5] openssl: Add handling for building on linux-powerpc64
2011-07-22 9:24 ` [PATCH 4/5] libart-lgpl: Add missing config file - allows builds on PowerPC 64 Kumar Gala
@ 2011-07-22 9:24 ` Kumar Gala
2011-07-22 14:16 ` Tom Rini
0 siblings, 1 reply; 11+ messages in thread
From: Kumar Gala @ 2011-07-22 9:24 UTC (permalink / raw)
To: openembedded-core
If try to build for an ppc64 target openssl will fail to build since
the configure script didn't know how to handle a 'linux-powerpc64' target.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
meta/recipes-connectivity/openssl/openssl.inc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 79620b3..b134ad0 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -83,6 +83,9 @@ do_configure () {
linux-gnuspe-powerpc)
target=linux-ppc
;;
+ linux-powerpc64)
+ target=linux-ppc64
+ ;;
linux-supersparc)
target=linux-sparcv8
;;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/5] Add support for powerpc64
2011-07-22 9:24 [PATCH 0/5] Add support for powerpc64 Kumar Gala
2011-07-22 9:24 ` [PATCH 1/5] insane.bbclass: Recognise powerpc64 Kumar Gala
@ 2011-07-22 10:53 ` Richard Purdie
2011-07-22 14:19 ` Tom Rini
2 siblings, 0 replies; 11+ messages in thread
From: Richard Purdie @ 2011-07-22 10:53 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Fri, 2011-07-22 at 04:24 -0500, Kumar Gala wrote:
> Add various cleanups to core scripts and packages that are needed for
> building for a 64-bit powerpc target.
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 3/5] kernel-arch: Add handling of powerpc64
2011-07-22 9:24 ` [PATCH 3/5] kernel-arch: " Kumar Gala
2011-07-22 9:24 ` [PATCH 4/5] libart-lgpl: Add missing config file - allows builds on PowerPC 64 Kumar Gala
@ 2011-07-22 14:16 ` Tom Rini
1 sibling, 0 replies; 11+ messages in thread
From: Tom Rini @ 2011-07-22 14:16 UTC (permalink / raw)
To: openembedded-core
On 07/22/2011 02:24 AM, Kumar Gala wrote:
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Tom Rini <tom_rini@mentor.com>
> ---
> meta/classes/kernel-arch.bbclass | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
> index 86c15d3..225d599 100644
> --- a/meta/classes/kernel-arch.bbclass
> +++ b/meta/classes/kernel-arch.bbclass
> @@ -6,7 +6,7 @@
>
> valid_archs = "alpha cris ia64 \
> i386 x86 \
> - m68knommu m68k ppc powerpc ppc64 \
> + m68knommu m68k ppc powerpc powerpc64 ppc64 \
> sparc sparc64 \
> arm arm26 \
> m32r mips \
> @@ -24,6 +24,7 @@ def map_kernel_arch(a, d):
> elif re.match('arm26$', a): return 'arm26'
> elif re.match('armeb$', a): return 'arm'
> elif re.match('mipsel$', a): return 'mips'
> + elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc'
> elif re.match('sh(3|4)$', a): return 'sh'
> elif re.match('bfin', a): return 'blackfin'
> elif re.match('microblazeel', a): return 'microblaze'
> @@ -36,7 +37,7 @@ export ARCH = "${@map_kernel_arch(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
> def map_uboot_arch(a, d):
> import re
>
> - if re.match('powerpc$', a): return 'ppc'
> + if re.match('p(pc|owerpc)(|64)', a): return 'ppc'
> elif re.match('i.86$', a): return 'x86'
> return a
>
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 5/5] openssl: Add handling for building on linux-powerpc64
2011-07-22 9:24 ` [PATCH 5/5] openssl: Add handling for building on linux-powerpc64 Kumar Gala
@ 2011-07-22 14:16 ` Tom Rini
0 siblings, 0 replies; 11+ messages in thread
From: Tom Rini @ 2011-07-22 14:16 UTC (permalink / raw)
To: openembedded-core
On 07/22/2011 02:24 AM, Kumar Gala wrote:
> If try to build for an ppc64 target openssl will fail to build since
> the configure script didn't know how to handle a 'linux-powerpc64' target.
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Tom Rini <tom_rini@mentor.com>
> ---
> meta/recipes-connectivity/openssl/openssl.inc | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
> index 79620b3..b134ad0 100644
> --- a/meta/recipes-connectivity/openssl/openssl.inc
> +++ b/meta/recipes-connectivity/openssl/openssl.inc
> @@ -83,6 +83,9 @@ do_configure () {
> linux-gnuspe-powerpc)
> target=linux-ppc
> ;;
> + linux-powerpc64)
> + target=linux-ppc64
> + ;;
> linux-supersparc)
> target=linux-sparcv8
> ;;
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/5] Add support for powerpc64
2011-07-22 9:24 [PATCH 0/5] Add support for powerpc64 Kumar Gala
2011-07-22 9:24 ` [PATCH 1/5] insane.bbclass: Recognise powerpc64 Kumar Gala
2011-07-22 10:53 ` [PATCH 0/5] Add support for powerpc64 Richard Purdie
@ 2011-07-22 14:19 ` Tom Rini
2011-07-22 14:55 ` Kumar Gala
2 siblings, 1 reply; 11+ messages in thread
From: Tom Rini @ 2011-07-22 14:19 UTC (permalink / raw)
To: openembedded-core
On 07/22/2011 02:24 AM, Kumar Gala wrote:
> Add various cleanups to core scripts and packages that are needed for
> building for a 64-bit powerpc target.
Everything looks fine here, added my Ack's for bits I recall doing too :)
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/5] Add support for powerpc64
2011-07-22 14:19 ` Tom Rini
@ 2011-07-22 14:55 ` Kumar Gala
0 siblings, 0 replies; 11+ messages in thread
From: Kumar Gala @ 2011-07-22 14:55 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Jul 22, 2011, at 9:19 AM, Tom Rini wrote:
> On 07/22/2011 02:24 AM, Kumar Gala wrote:
>> Add various cleanups to core scripts and packages that are needed for
>> building for a 64-bit powerpc target.
>
> Everything looks fine here, added my Ack's for bits I recall doing too :)
Yeah, probably duplicated a bit of work there ;)
- k
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-07-22 14:59 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 9:24 [PATCH 0/5] Add support for powerpc64 Kumar Gala
2011-07-22 9:24 ` [PATCH 1/5] insane.bbclass: Recognise powerpc64 Kumar Gala
2011-07-22 9:24 ` [PATCH 2/5] libc: Add handling of powerpc64 Kumar Gala
2011-07-22 9:24 ` [PATCH 3/5] kernel-arch: " Kumar Gala
2011-07-22 9:24 ` [PATCH 4/5] libart-lgpl: Add missing config file - allows builds on PowerPC 64 Kumar Gala
2011-07-22 9:24 ` [PATCH 5/5] openssl: Add handling for building on linux-powerpc64 Kumar Gala
2011-07-22 14:16 ` Tom Rini
2011-07-22 14:16 ` [PATCH 3/5] kernel-arch: Add handling of powerpc64 Tom Rini
2011-07-22 10:53 ` [PATCH 0/5] Add support for powerpc64 Richard Purdie
2011-07-22 14:19 ` Tom Rini
2011-07-22 14:55 ` Kumar Gala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox