diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-12-06 10:25:51 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-12 21:50:09 +0000 |
commit | 061d8015d6f15825bf9c4245671313bec35cefbf (patch) | |
tree | b5955b5bf26de4f480ded26784f80720451e1a03 /meta | |
parent | 4c2ec631bf2b9581233a470c415f4d5cfe59a2a4 (diff) | |
download | openembedded-core-061d8015d6f15825bf9c4245671313bec35cefbf.tar.gz openembedded-core-061d8015d6f15825bf9c4245671313bec35cefbf.tar.bz2 openembedded-core-061d8015d6f15825bf9c4245671313bec35cefbf.tar.xz openembedded-core-061d8015d6f15825bf9c4245671313bec35cefbf.zip |
siteinfo: create a new siteinfo for x32-linux
X32 has different sizes for many types:
1. off_t and ino_t are 8 byte, instead of 4 byte.
2. pthread_mutex_t is 32byte, instead of 24 byte.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/siteinfo.bbclass | 2 | ||||
-rw-r--r-- | meta/site/x32-linux | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 604c6ba6b..bf6af2b83 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass @@ -76,7 +76,7 @@ def siteinfo_data(d): "x86_64-linux": "bit-64", "x86_64-linux-uclibc": "bit-64", "x86_64-linux-gnu": "bit-64 x86_64-linux", - "x86_64-linux-gnux32": "bit-32 ix86-common", + "x86_64-linux-gnux32": "bit-32 ix86-common x32-linux", "x86_64-mingw32": "bit-64", } diff --git a/meta/site/x32-linux b/meta/site/x32-linux new file mode 100644 index 000000000..7ce6551ec --- /dev/null +++ b/meta/site/x32-linux @@ -0,0 +1,9 @@ +# general +ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16} +ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8} +ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=8} +ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8} +ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64} + +# glib +glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=32} |