]> code.ossystems Code Review - openembedded-core.git/commitdiff
populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Aug 2011 17:54:27 +0000 (18:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Sep 2011 22:38:00 +0000 (23:38 +0100)
If we don't do this, the SDK target sysroot is named generically even
when it contains package architecture specific optimisations.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk.bbclass

index 69780e5b21241d3218c0ed226368001d507a617f..1ef72cfeb2af7c19d076de5cacca046ff9838836 100644 (file)
@@ -5,7 +5,7 @@ SDK_DIR = "${WORKDIR}/sdk"
 SDK_OUTPUT = "${SDK_DIR}/image"
 SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
 
-SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}"
+SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${MULTIMACH_TARGET_SYS}"
 
 TOOLCHAIN_HOST_TASK ?= "task-sdk-host-nativesdk task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
 TOOLCHAIN_TARGET_TASK ?= "task-core-standalone-sdk-target task-core-standalone-sdk-target-dbg"