meta-environment: Fix config-site with a multilib config
authorMark Hatle <mark.hatle@windriver.com>
Tue, 11 Nov 2014 02:09:29 +0000 (20:09 -0600)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:18:38 +0000 (09:18 -0800)
commita2ce67b6ab2fa30a286794272fd9da915b23aa18
treed29158ef829f830587e884707c340b9b545318a2
parent75fcf44a8e61d33f8250334aeb3615fed1cbd6b7
meta-environment: Fix config-site with a multilib config

[YOCTO #6951]

The TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value was defaulting to the nativesdk
path and not the associated target path.  Set the value in toolchain-scripts
to the target path.

Be sure to set the MLPREFIX within the meta-environment script as multilibs
are processed.

Update the config_site file name to use -BPN- not PN.  Otherwise the
environment processing can't find the correct filename.

(From OE-Core rev: 26a2f98155a867a71217e52d33f761dcc60800ca)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/siteconfig.bbclass
meta/classes/toolchain-scripts.bbclass
meta/recipes-core/meta/meta-environment.bb