summaryrefslogtreecommitdiff
path: root/meta/site/x32-linux
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-12-06 10:25:51 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-12 21:50:09 +0000
commit061d8015d6f15825bf9c4245671313bec35cefbf (patch)
treeb5955b5bf26de4f480ded26784f80720451e1a03 /meta/site/x32-linux
parent4c2ec631bf2b9581233a470c415f4d5cfe59a2a4 (diff)
downloadopenembedded-core-061d8015d6f15825bf9c4245671313bec35cefbf.tar.gz
openembedded-core-061d8015d6f15825bf9c4245671313bec35cefbf.tar.bz2
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/site/x32-linux')
-rw-r--r--meta/site/x32-linux9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/site/x32-linux b/meta/site/x32-linux
new file mode 100644
index 0000000000..7ce6551ecd
--- /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}