diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2015-12-03 15:09:55 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-12 23:42:53 +0000 |
commit | 39facf945e5e407fd0e8dadd4c8ba420b902843d (patch) | |
tree | 6296e4174c51ba2a899aab6a7a55b67177028445 | |
parent | bc26a7d34cf1705e1a2acac561259ee1610d7da2 (diff) | |
download | poky-39facf945e5e407fd0e8dadd4c8ba420b902843d.tar.gz |
buildtools-tarball.bb: 32bit tools need pseudo 32bit library
"pseudo" does not build 32 bit library by default on 64 bit host, but the
32 bit library is needed when using 32 bit development tools (buildtools-tarball)
running on a 64 bit host. Building of the library can be forced if the
environment variable NO32LIBS is set to "0".
Hence for 32 bit buildtools we export the environment variable NO32LIBS="0"
and NO32LIBS is also added into BB_ENV_EXTRAWHITE (if not already there).
[YOCTO#8581]
(From OE-Core rev: 1c20e66428df10000741c25dddb7a2b1fd55ba42)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/meta/buildtools-tarball.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index 840434ccd2..8ad4e91ae4 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb | |||
@@ -56,4 +56,10 @@ create_sdk_files_append () { | |||
56 | toolchain_create_sdk_version ${SDK_OUTPUT}/${SDKPATH}/version-${SDK_SYS} | 56 | toolchain_create_sdk_version ${SDK_OUTPUT}/${SDKPATH}/version-${SDK_SYS} |
57 | 57 | ||
58 | echo 'export GIT_SSL_CAINFO="${SDKPATHNATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"' >>$script | 58 | echo 'export GIT_SSL_CAINFO="${SDKPATHNATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"' >>$script |
59 | |||
60 | if [ ${SDKMACHINE} = "i686" ]; then | ||
61 | echo 'export NO32LIBS="0"' >>$script | ||
62 | echo 'echo "$BB_ENV_EXTRAWHITE" | grep -q "NO32LIBS"' >>$script | ||
63 | echo '[ $? != 0 ] && export BB_ENV_EXTRAWHITE="NO32LIBS $BB_ENV_EXTRAWHITE"' >>$script | ||
64 | fi | ||
59 | } | 65 | } |