diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-09-02 11:45:01 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-02 18:15:31 +0100 |
commit | 6ebcc6c1999f678dace87a4716aa912acaf88ad4 (patch) | |
tree | 0f6ee46bb7293c5ff4cdc149b0dee1b4b38fc1b3 /meta/conf | |
parent | 7046e28afc602b1cd981ed76dc9467d0869c098c (diff) | |
download | poky-6ebcc6c1999f678dace87a4716aa912acaf88ad4.tar.gz |
multilib: Using different sysroot for multilib recipes
Thinking of the senario that, if we already built out a 64bit image
along with the full toolchain bootstrapped, then we need to build some
32bit libraries, which needs lib32 versions of gcc and eglibc. These
toolchain recipes will bootstrap again in the same sysroot, resulting
that lib32-gcc-cross-initial will find some macros owned by eglibc have
already been defined and thus it includes non-existed headers that
provided by later lib32-eglibc.
The solution for the above issue is to use different sysroot for
multilib recipes, here we add ${MLPREFIX} in front of the machine
specific sysroot directory name.
[YOCTO #1372]
(From OE-Core rev: a1508ad1aec2d2f9ee040aa217c33193cd5bd871)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/multilib.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf index 36793d247e..df83d47546 100644 --- a/meta/conf/multilib.conf +++ b/meta/conf/multilib.conf | |||
@@ -6,6 +6,9 @@ MULTILIB_SAVE_VARNAME = "DEFAULTTUNE" | |||
6 | 6 | ||
7 | MULTILIBS ??= "multilib:lib32" | 7 | MULTILIBS ??= "multilib:lib32" |
8 | 8 | ||
9 | STAGING_DIR_HOST = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" | ||
10 | STAGING_DIR_TARGET = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" | ||
11 | |||
9 | BBCLASSEXTEND_append_pn-acl = " ${MULTILIBS}" | 12 | BBCLASSEXTEND_append_pn-acl = " ${MULTILIBS}" |
10 | BBCLASSEXTEND_append_pn-alsa-lib = " ${MULTILIBS}" | 13 | BBCLASSEXTEND_append_pn-alsa-lib = " ${MULTILIBS}" |
11 | BBCLASSEXTEND_append_pn-alsa-utils = " ${MULTILIBS}" | 14 | BBCLASSEXTEND_append_pn-alsa-utils = " ${MULTILIBS}" |