summaryrefslogtreecommitdiffstats
path: root/meta
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:19 +0000
commitd22f85117c34c78c721985d118578394293ac245 (patch)
tree651093ae9a428c14f11a1339e9b9e6d74491fb20 /meta
parent800f7e43523ed6156e2dde3b928aae8c10f2ee7e (diff)
downloadpoky-d22f85117c34c78c721985d118578394293ac245.tar.gz
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. (From OE-Core rev: 061d8015d6f15825bf9c4245671313bec35cefbf) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/siteinfo.bbclass2
-rw-r--r--meta/site/x32-linux9
2 files changed, 10 insertions, 1 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index 604c6ba6b0..bf6af2b838 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -76,7 +76,7 @@ def siteinfo_data(d):
76 "x86_64-linux": "bit-64", 76 "x86_64-linux": "bit-64",
77 "x86_64-linux-uclibc": "bit-64", 77 "x86_64-linux-uclibc": "bit-64",
78 "x86_64-linux-gnu": "bit-64 x86_64-linux", 78 "x86_64-linux-gnu": "bit-64 x86_64-linux",
79 "x86_64-linux-gnux32": "bit-32 ix86-common", 79 "x86_64-linux-gnux32": "bit-32 ix86-common x32-linux",
80 "x86_64-mingw32": "bit-64", 80 "x86_64-mingw32": "bit-64",
81 } 81 }
82 82
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 @@
1# general
2ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
3ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8}
4ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=8}
5ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8}
6ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64}
7
8# glib
9glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=32}