site/powerpc: Pull all powerpc config options into powerpc32-linux
RFC 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
@@ -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
@@ -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
RFC PATCH 2/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
@@ -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
RFC PATCH 3/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
@@ -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
RFC PATCH 4/4 site/powerpc*-linux: refactor needed options that are common
Pulled common options that are needed for powerpc64-linux to build out of powerpc32-linux and put them into powerpc-linux.
--- meta/site/powerpc-linux | 24 ++++++++++++++++++++++++ meta/site/powerpc32-linux | 19 ------------------- 2 files changed, 24 insertions(+), 19 deletions(-)
meta/site/powerpc-linux +24 -0
@@ -0,0 +1,24 @@ +ac_cv_func_getpgrp_void=yes +ac_cv_func_setpgrp_void=yes +ac_cv_func_setgrent_void=yes +ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} +ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} + +# bash +bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} + +# startup-notification +lf_cv_sane_realloc=yes + +# flex +ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} +ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} + +# glib +glib_cv_stack_grows=${glib_cv_stack_grows=no} +glib_cv_uscore=${glib_cv_uscore=no} +ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} + +# popt/rpm +ac_cv_va_copy=${ac_cv_va_copy=yes} +ac_cv___va_copy=${ac_cv___va_copy=yes}
meta/site/powerpc32-linux +0 -19
@@ -1,10 +1,5 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_works=yes -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
@@ -128,20 +123,16 @@ am_cv_func_working_getline=${am_cv_func_working_getline=yes} # glib glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} -glib_cv_stack_grows=${glib_cv_stack_grows=no} -glib_cv_uscore=${glib_cv_uscore=no} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} glib_cv_has__inline=${glib_cv_has__inline=yes} glib_cv_has__inline__=${glib_cv_has__inline__=yes} glib_cv_hasinline=${glib_cv_hasinline=yes} glib_cv_sane_realloc=${glib_cv_sane_realloc=yes} glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} -glib_cv_uscore=${glib_cv_uscore=no} glib_cv_va_copy=${glib_cv_va_copy=no} glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} glib_cv___va_copy=${glib_cv___va_copy=yes} glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes} glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes} glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes}
@@ -187,14 +178,9 @@ compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} slrn_cv___va_copy=${slrn_cv___va_copy=yes} slrn_cv_va_copy=${slrn_cv_va_copy=no} slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes} -ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} -ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} -# startup-notification -lf_cv_sane_realloc=yes - # libidl libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
@@ -218,7 +204,6 @@ cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=yes} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing} bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no} bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no}
@@ -341,7 +326,3 @@ 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}
Signature · 1 line
1.7.3.4
Re: [RFC][PATCH 4/4] site/powerpc*-linux: refactor needed options that are common
Quoted 4 lines · Kumar Gala
Pulled common options that are needed for powerpc64-linux to build out of powerpc32-linux and put them into powerpc-linux.
Signed-off-by Kumar Gala <[email protected]>
NAK. Almost all of the stuff going into powerpc-linux really belongs in common-linux or common-glibc. Some other tasks held me up here but I plan to post the series moving these bits over and dropping them from the arch files tomorrow. Rest of the series looks good tho
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Re: [RFC][PATCH 4/4] site/powerpc*-linux: refactor needed options that are common
Quoted 10 lines · Tom Rini
Quoted 4 lines · Kumar Gala
Pulled common options that are needed for powerpc64-linux to build out of powerpc32-linux and put them into powerpc-linux.
Signed-off-by Kumar Gala <[email protected]>NAK. Almost all of the stuff going into powerpc-linux really belongs in common-linux or common-glibc. Some other tasks held me up here but I plan to post the series moving these bits over and dropping them from the arch files tomorrow. Rest of the series looks good tho
Sorry, my email reading order wasn't good here and I missed this comment. I wanted to get the series in since I know this and the stuff Tom is looking at will likely conflict a bit. Kumar's work improves the situation so I've merged it. Obviously there is still other improvements we can have.
Cheers,
Richard