Skip to contentSkip to conversation

site/powerpc: Pull all powerpc config options into powerpc32-linux

PATCH Applied Kumar Gala 2 participants 5 messages Jul 22, 2011

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/4 site/powerpc: Pull all powerpc config options into powerpc32-linux

powerpc-common was really Linux PPC32 specific. So move all the options in it to powerpc32-linux and we can refactor out common bits shared between into powerpc-linux and powerpc-common.

---
 meta/classes/siteinfo.bbclass |    4 +-
 meta/site/powerpc-common      |  328 ---------------------------------------
 meta/site/powerpc-linux       |    9 -
 meta/site/powerpc32-linux     |  338 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 340 insertions(+), 339 deletions(-)
 create mode 100644 meta/site/powerpc32-linux
meta/classes/siteinfo.bbclass +2 -2
index ff9fd0d..d0d405a 100644
@@ -33,10 +33,10 @@ def siteinfo_data(d):
         "mips64": "endian-big bit-64 mips64-common",
         "mips64el": "endian-little bit-64 mips64-common",
         "mipsel": "endian-little bit-32 mips-common",
-        "powerpc": "endian-big bit-32 powerpc-common",
+        "powerpc": "endian-big bit-32 powerpc-common powerpc32-linux",
         "nios2": "endian-little bit-32 nios2-common",
         "powerpc64": "endian-big bit-64 powerpc-common powerpc64-linux",
-        "ppc": "endian-big bit-32 powerpc-common",
+        "ppc": "endian-big bit-32 powerpc-common powerpc32-linux",
         "ppc64": "endian-big bit-64 powerpc-common powerpc64-linux",
         "sh3": "endian-little bit-32 sh-common",
         "sh4": "endian-little bit-32 sh-common",
meta/site/powerpc-common +0 -328

328 lines not on this page · raw message

meta/site/powerpc-linux +0 -9
index 856701d..e69de29 100644
@@ -1,9 +0,0 @@
-# libc
-libc_cv_ppc_machine=${libc_cv_ppc_machine=yes}
-libc_cv_mlong_double_128ibm=${libc_cv_mlong_double_128ibm=yes}
-libc_cv_mabi_ibmlongdouble=${libc_cv_mabi_ibmlongdouble=yes}
-libc_cv_mlong_double_128=${libc_cv_mlong_double_128=yes}
-
-# popt
-ac_cv_va_copy=${ac_cv_va_copy=yes}
-ac_cv___va_copy=${ac_cv___va_copy=yes}
meta/site/powerpc32-linux new file +338 -0

338 lines not on this page · raw message

Signature · 1 line
1.7.3.4
author
#1 lore raw

PATCH 2/4 site/powerpc64: Update power64-linux to include powerpc-linux

Now that we have a unique powerpc32-linux config, we share powerpc-linux between ppc32 & ppc64.

---
 meta/classes/siteinfo.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/classes/siteinfo.bbclass +2 -2
index d0d405a..c5308b3 100644
@@ -35,9 +35,9 @@ def siteinfo_data(d):
         "mipsel": "endian-little bit-32 mips-common",
         "powerpc": "endian-big bit-32 powerpc-common powerpc32-linux",
         "nios2": "endian-little bit-32 nios2-common",
-        "powerpc64": "endian-big bit-64 powerpc-common powerpc64-linux",
+        "powerpc64": "endian-big bit-64 powerpc-common powerpc-linux powerpc64-linux",
         "ppc": "endian-big bit-32 powerpc-common powerpc32-linux",
-        "ppc64": "endian-big bit-64 powerpc-common powerpc64-linux",
+        "ppc64": "endian-big bit-64 powerpc-common powerpc-linux powerpc64-linux",
         "sh3": "endian-little bit-32 sh-common",
         "sh4": "endian-little bit-32 sh-common",
         "sparc": "endian-big bit-32",
Signature · 1 line
1.7.3.4
author
#2 lore raw

PATCH 3/4 site/powerpc32-linux: Update with ac_cv_sizeof_* from eglibc

---
 meta/site/powerpc32-linux |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)
meta/site/powerpc32-linux +13 -4
index 433ccef..bd45ea6 100644
@@ -9,21 +9,30 @@ ac_cv_func_setvbuf_reversed=no
 ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
 ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
 ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
+ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4}
 ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
+ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4}
-ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
 ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
+ac_cv_sizeof_long_p=${ac_cv_sizeof_long_p=4}
+ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
 ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=4}
 ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
+ac_cv_sizeof_long_long_int=${ac_cv_sizeof_long_long_int=8}
 ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
-ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
 ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
+ac_cv_sizeof_signed_char=${ac_cv_sizeof_signed_char=1}
 ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4}
+ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
+ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
+ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=4}
+ac_cv_sizeof_unsigned_long_int=${ac_cv_sizeof_unsigned_long_int=4}
+ac_cv_sizeof_unsigned_long_long_int=${ac_cv_sizeof_unsigned_long_long_int=8}
+ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
+ac_cv_sizeof_unsigned_short_int=${ac_cv_sizeof_unsigned_short_int=2}
 ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4}
-ac_cv_sizeof_long_p=${ac_cv_sizeof_long_p=4}
 ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=4}
-ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=8}
 ac_cv_sys_restartable_syscalls=yes
 ac_cv_type___int64=${ac_cv_type___int64=no}
 ac_cv_type_size_t=${ac_cv_type_size_t=yes}
Signature · 1 line
1.7.3.4
author
#3 lore raw

PATCH 4/4 site/powerpc64-linux: Start initial site config

Use ac_cv_sizeof_* from eglibc as starting point for powerpc64-linux site info. We will refactor common bits that are needed out of powerpc32-linux based on build issues.

---
 meta/site/powerpc64-linux |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta/site/powerpc64-linux
meta/site/powerpc64-linux new file +21 -0
new file mode 100644
index 0000000..9430ea1
@@ -0,0 +1,21 @@
+ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
+ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=8}
+ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
+ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
+ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
+ac_cv_sizeof_long=${ac_cv_sizeof_long=8}
+ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
+ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=8}
+ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
+ac_cv_sizeof_long_long_int=${ac_cv_sizeof_long_long_int=8}
+ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
+ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
+ac_cv_sizeof_signed_char=${ac_cv_sizeof_signed_char=1}
+ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
+ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
+ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=8}
+ac_cv_sizeof_unsigned_long_int=${ac_cv_sizeof_unsigned_long_int=8}
+ac_cv_sizeof_unsigned_long_long_int=${ac_cv_sizeof_unsigned_long_long_int=8}
+ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
+ac_cv_sizeof_unsigned_short_int=${ac_cv_sizeof_unsigned_short_int=2}
+ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8}
Signature · 1 line
1.7.3.4
#4 lore raw
In reply to Kumar Gala
Quoted 4 lines · Kumar Gala

powerpc-common was really Linux PPC32 specific. So move all the options in it to powerpc32-linux and we can refactor out common bits shared between into powerpc-linux and powerpc-common.

Quoted 8 lines
---
 meta/classes/siteinfo.bbclass |    4 +-
 meta/site/powerpc-common      |  328 ---------------------------------------
 meta/site/powerpc-linux       |    9 -
 meta/site/powerpc32-linux     |  338 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 340 insertions(+), 339 deletions(-)
 create mode 100644 meta/site/powerpc32-linux

I've merged patches 1-4 to master, thanks.

Richard