diff options
| author | Joe Slater <jslater@windriver.com> | 2014-12-18 16:50:59 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-23 10:18:17 +0000 |
| commit | 263738561564b1fa6dbb2f80eeba462680584173 (patch) | |
| tree | 63af814f940c5fcc6ba7504cdb9cb0fc5f8ce9fe | |
| parent | 8781b4952da9f618103a4c609efa5d694b7f195f (diff) | |
| download | poky-263738561564b1fa6dbb2f80eeba462680584173.tar.gz | |
siteinfo: account for 32 and 64 bit arm
Pull wordsize related items from arm-common and put in
arm-32. Leave them as they were. Copy arm-32 to arm-64
and comment out all variables. Re-define to correct
values leaving items which do not appear to be used
undefined.
(From OE-Core rev: 99d43a1554b2daeb7aba3c4582ccec758e6ec4a5)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/siteinfo.bbclass | 8 | ||||
| -rw-r--r-- | meta/site/arm-32 | 47 | ||||
| -rw-r--r-- | meta/site/arm-64 | 46 | ||||
| -rw-r--r-- | meta/site/arm-common | 38 |
4 files changed, 97 insertions, 42 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index e90632aeef..b41db46bc0 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass | |||
| @@ -18,10 +18,10 @@ | |||
| 18 | def siteinfo_data(d): | 18 | def siteinfo_data(d): |
| 19 | archinfo = { | 19 | archinfo = { |
| 20 | "allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for allarch | 20 | "allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for allarch |
| 21 | "aarch64": "endian-little bit-64 arm-common", | 21 | "aarch64": "endian-little bit-64 arm-common arm-64", |
| 22 | "aarch64_be": "endian-big bit-64 arm-common", | 22 | "aarch64_be": "endian-big bit-64 arm-common arm-64", |
| 23 | "arm": "endian-little bit-32 arm-common", | 23 | "arm": "endian-little bit-32 arm-common arm-32", |
| 24 | "armeb": "endian-big bit-32 arm-common", | 24 | "armeb": "endian-big bit-32 arm-common arm-32", |
| 25 | "avr32": "endian-big bit-32 avr32-common", | 25 | "avr32": "endian-big bit-32 avr32-common", |
| 26 | "bfin": "endian-little bit-32 bfin-common", | 26 | "bfin": "endian-little bit-32 bfin-common", |
| 27 | "i386": "endian-little bit-32 ix86-common", | 27 | "i386": "endian-little bit-32 ix86-common", |
diff --git a/meta/site/arm-32 b/meta/site/arm-32 new file mode 100644 index 0000000000..81fd8d3103 --- /dev/null +++ b/meta/site/arm-32 | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | # definitions assuming 32-bit arm architecture | ||
| 2 | |||
| 3 | # apache | ||
| 4 | ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4} | ||
| 5 | ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4} | ||
| 6 | |||
| 7 | # glib | ||
| 8 | glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 9 | glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} | ||
| 10 | glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 11 | |||
| 12 | # glib-2.0 | ||
| 13 | glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 14 | glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8} | ||
| 15 | glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4} | ||
| 16 | glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4} | ||
| 17 | glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} | ||
| 18 | ac_cv_alignof_guint32=4 | ||
| 19 | ac_cv_alignof_guint64=8 | ||
| 20 | ac_cv_alignof_unsigned_long=4 | ||
| 21 | |||
| 22 | # jikes | ||
| 23 | ac_cv_sizeof_wchar_t=4 | ||
| 24 | |||
| 25 | # ORBit2 | ||
| 26 | ac_cv_alignof_CORBA_boolean=1 | ||
| 27 | ac_cv_alignof_CORBA_char=1 | ||
| 28 | ac_cv_alignof_CORBA_double=8 | ||
| 29 | ac_cv_alignof_CORBA_float=4 | ||
| 30 | ac_cv_alignof_CORBA_long=4 | ||
| 31 | ac_cv_alignof_CORBA_long_double=8 | ||
| 32 | ac_cv_alignof_CORBA_long_long=8 | ||
| 33 | ac_cv_alignof_CORBA_octet=1 | ||
| 34 | ac_cv_alignof_CORBA_pointer=4 | ||
| 35 | ac_cv_alignof_CORBA_short=2 | ||
| 36 | ac_cv_alignof_CORBA_struct=1 | ||
| 37 | ac_cv_alignof_CORBA_wchar=2 | ||
| 38 | |||
| 39 | # at-spi2-core | ||
| 40 | ac_cv_alignof_char=1 | ||
| 41 | ac_cv_alignof_dbind_pointer=4 | ||
| 42 | ac_cv_alignof_dbind_struct=1 | ||
| 43 | ac_cv_alignof_dbus_bool_t=4 | ||
| 44 | ac_cv_alignof_dbus_int16_t=2 | ||
| 45 | ac_cv_alignof_dbus_int32_t=4 | ||
| 46 | ac_cv_alignof_dbus_int64_t=8 | ||
| 47 | ac_cv_alignof_double=8 | ||
diff --git a/meta/site/arm-64 b/meta/site/arm-64 new file mode 100644 index 0000000000..90c09b2d54 --- /dev/null +++ b/meta/site/arm-64 | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | # definitions assuming 64-bit arm architecture | ||
| 2 | |||
| 3 | # general | ||
| 4 | ac_cv_sizeof_wchar_t=4 | ||
| 5 | ac_cv_sizeof_size_t=8 | ||
| 6 | ac_cv_sizeof_ssize_t=8 | ||
| 7 | ac_cv_alignof_char=1 | ||
| 8 | ac_cv_alignof_double=8 | ||
| 9 | |||
| 10 | # glib | ||
| 11 | #glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 12 | #glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} | ||
| 13 | #glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 14 | |||
| 15 | # glib-2.0 | ||
| 16 | #glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 17 | #glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8} | ||
| 18 | #glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4} | ||
| 19 | #glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4} | ||
| 20 | #glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} | ||
| 21 | ac_cv_alignof_guint32=4 | ||
| 22 | ac_cv_alignof_guint64=8 | ||
| 23 | ac_cv_alignof_unsigned_long=8 | ||
| 24 | |||
| 25 | # ORBit2 (should be in meta-gnome/site/arm-64) | ||
| 26 | #ac_cv_alignof_CORBA_boolean=1 | ||
| 27 | #ac_cv_alignof_CORBA_char=1 | ||
| 28 | #ac_cv_alignof_CORBA_double=8 | ||
| 29 | #ac_cv_alignof_CORBA_float=4 | ||
| 30 | #ac_cv_alignof_CORBA_long=4 | ||
| 31 | #ac_cv_alignof_CORBA_long_double=8 | ||
| 32 | #ac_cv_alignof_CORBA_long_long=8 | ||
| 33 | #ac_cv_alignof_CORBA_octet=1 | ||
| 34 | #ac_cv_alignof_CORBA_pointer=4 | ||
| 35 | #ac_cv_alignof_CORBA_short=2 | ||
| 36 | #ac_cv_alignof_CORBA_struct=1 | ||
| 37 | #ac_cv_alignof_CORBA_wchar=2 | ||
| 38 | |||
| 39 | # at-spi2-core | ||
| 40 | ac_cv_alignof_dbind_pointer=8 | ||
| 41 | ac_cv_alignof_dbind_struct=1 | ||
| 42 | ac_cv_alignof_dbus_bool_t=4 | ||
| 43 | ac_cv_alignof_dbus_int16_t=2 | ||
| 44 | ac_cv_alignof_dbus_int32_t=4 | ||
| 45 | ac_cv_alignof_dbus_int64_t=8 | ||
| 46 | |||
diff --git a/meta/site/arm-common b/meta/site/arm-common index 1893dc0ab8..12e5d4592a 100644 --- a/meta/site/arm-common +++ b/meta/site/arm-common | |||
| @@ -11,7 +11,6 @@ ac_cv_sctp=${ac_cv_sctp=no} | |||
| 11 | # apache | 11 | # apache |
| 12 | ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes} | 12 | ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes} |
| 13 | apr_cv_process_shared_works=${apr_cv_process_shared_works=no} | 13 | apr_cv_process_shared_works=${apr_cv_process_shared_works=no} |
| 14 | ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4} | ||
| 15 | apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} | 14 | apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} |
| 16 | 15 | ||
| 17 | # bash | 16 | # bash |
| @@ -51,8 +50,6 @@ ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | |||
| 51 | am_cv_func_working_getline=${am_cv_func_working_getline=yes} | 50 | am_cv_func_working_getline=${am_cv_func_working_getline=yes} |
| 52 | 51 | ||
| 53 | # glib | 52 | # glib |
| 54 | glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 55 | glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} | ||
| 56 | glib_cv_stack_grows=${glib_cv_stack_grows=no} | 53 | glib_cv_stack_grows=${glib_cv_stack_grows=no} |
| 57 | glib_cv_uscore=${glib_cv_uscore=no} | 54 | glib_cv_uscore=${glib_cv_uscore=no} |
| 58 | glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} | 55 | glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} |
| @@ -60,7 +57,6 @@ glib_cv_has__inline=${glib_cv_has__inline=yes} | |||
| 60 | glib_cv_has__inline__=${glib_cv_has__inline__=yes} | 57 | glib_cv_has__inline__=${glib_cv_has__inline__=yes} |
| 61 | glib_cv_hasinline=${glib_cv_hasinline=yes} | 58 | glib_cv_hasinline=${glib_cv_hasinline=yes} |
| 62 | glib_cv_sane_realloc=${glib_cv_sane_realloc=yes} | 59 | glib_cv_sane_realloc=${glib_cv_sane_realloc=yes} |
| 63 | glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 64 | glib_cv_uscore=${glib_cv_uscore=no} | 60 | glib_cv_uscore=${glib_cv_uscore=no} |
| 65 | glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} | 61 | glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} |
| 66 | glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no} | 62 | glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no} |
| @@ -70,15 +66,7 @@ glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_po | |||
| 70 | 66 | ||
| 71 | # glib-2.0 | 67 | # glib-2.0 |
| 72 | glib_cv_long_long_format=${glib_cv_long_long_format=ll} | 68 | glib_cv_long_long_format=${glib_cv_long_long_format=ll} |
| 73 | glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} | ||
| 74 | glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8} | ||
| 75 | glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4} | ||
| 76 | glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4} | ||
| 77 | glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} | ||
| 78 | glib_cv_sys_use_pid_niceness_surrogate=${glib_cv_sys_use_pid_niceness_surrogate=yes} | 69 | glib_cv_sys_use_pid_niceness_surrogate=${glib_cv_sys_use_pid_niceness_surrogate=yes} |
| 79 | ac_cv_alignof_guint32=4 | ||
| 80 | ac_cv_alignof_guint64=8 | ||
| 81 | ac_cv_alignof_unsigned_long=4 | ||
| 82 | 70 | ||
| 83 | #gstreamer | 71 | #gstreamer |
| 84 | as_cv_unaligned_access=${as_cv_unaligned_access=no} | 72 | as_cv_unaligned_access=${as_cv_unaligned_access=no} |
| @@ -86,9 +74,6 @@ as_cv_unaligned_access=${as_cv_unaligned_access=no} | |||
| 86 | # httppc | 74 | # httppc |
| 87 | ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no} | 75 | ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no} |
| 88 | 76 | ||
| 89 | # jikes | ||
| 90 | ac_cv_sizeof_wchar_t=4 | ||
| 91 | |||
| 92 | # lftp | 77 | # lftp |
| 93 | ac_cv_need_trio=${ac_cv_need_trio=no} | 78 | ac_cv_need_trio=${ac_cv_need_trio=no} |
| 94 | lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes} | 79 | lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes} |
| @@ -119,20 +104,6 @@ mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no} | |||
| 119 | ac_cv_regexec_segfault_emptystr=${ac_cv_regexec_segfault_emptystr=no} | 104 | ac_cv_regexec_segfault_emptystr=${ac_cv_regexec_segfault_emptystr=no} |
| 120 | nano_cv_func_regexec_segv_emptystr=${nano_cv_func_regexec_segv_emptystr=no} | 105 | nano_cv_func_regexec_segv_emptystr=${nano_cv_func_regexec_segv_emptystr=no} |
| 121 | 106 | ||
| 122 | # ORBit2 | ||
| 123 | ac_cv_alignof_CORBA_boolean=1 | ||
| 124 | ac_cv_alignof_CORBA_char=1 | ||
| 125 | ac_cv_alignof_CORBA_double=8 | ||
| 126 | ac_cv_alignof_CORBA_float=4 | ||
| 127 | ac_cv_alignof_CORBA_long=4 | ||
| 128 | ac_cv_alignof_CORBA_long_double=8 | ||
| 129 | ac_cv_alignof_CORBA_long_long=8 | ||
| 130 | ac_cv_alignof_CORBA_octet=1 | ||
| 131 | ac_cv_alignof_CORBA_pointer=4 | ||
| 132 | ac_cv_alignof_CORBA_short=2 | ||
| 133 | ac_cv_alignof_CORBA_struct=1 | ||
| 134 | ac_cv_alignof_CORBA_wchar=2 | ||
| 135 | |||
| 136 | # php | 107 | # php |
| 137 | ac_cv_pread=${ac_cv_pread=no} | 108 | ac_cv_pread=${ac_cv_pread=no} |
| 138 | ac_cv_pwrite=${ac_cv_pwrite=no} | 109 | ac_cv_pwrite=${ac_cv_pwrite=no} |
| @@ -186,12 +157,3 @@ jm_cv_func_working_readdir=yes | |||
| 186 | # evolution-data-server | 157 | # evolution-data-server |
| 187 | ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes} | 158 | ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes} |
| 188 | 159 | ||
| 189 | # at-spi2-core | ||
| 190 | ac_cv_alignof_char=1 | ||
| 191 | ac_cv_alignof_dbind_pointer=4 | ||
| 192 | ac_cv_alignof_dbind_struct=1 | ||
| 193 | ac_cv_alignof_dbus_bool_t=4 | ||
| 194 | ac_cv_alignof_dbus_int16_t=2 | ||
| 195 | ac_cv_alignof_dbus_int32_t=4 | ||
| 196 | ac_cv_alignof_dbus_int64_t=8 | ||
| 197 | ac_cv_alignof_double=8 | ||
