populate_sdk_base.bbclass: fix SDKTARGETSYSROOT value
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Mon, 18 Feb 2013 11:40:12 +0000 (11:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Feb 2013 16:47:35 +0000 (08:47 -0800)
commit75f885eb337c359d9d241b08669163a9d85c033a
tree6f07aeeb213572930ce8eb9419e0f292a2f5b7ed
parent10ad33e8d4e1bba91f57e566d504f6b21d1aee86
populate_sdk_base.bbclass: fix SDKTARGETSYSROOT value

Currently, SDKTARGETSYSROOT points to PACKAGE_ARCH which, sometimes, can
be set to MACHINE_ARCH. When this happens, the default target sysroot
passed to the cross-canadian toolchain, which points to TUNE_PKGARCH,
will be different from the directory where the target sysroot has been
deployed.

In order to fix this, use REAL_MULTIMACH_TARGET_SYS variable instead of
MULTIMACH_TARGET_SYS.

[YOCTO #3784]

(From OE-Core rev: 41437aaac0cfc6f931d3b2974d380f20ec01f6e8)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass