From: Richard Purdie Date: Tue, 9 Aug 2011 17:54:27 +0000 (+0100) Subject: populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH X-Git-Tag: 2011-1~181 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0616557a8c29b42bae0ffd5fd665a046810047e4;p=openembedded-core.git populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH 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 --- diff --git a/meta/classes/populate_sdk.bbclass b/meta/classes/populate_sdk.bbclass index 69780e5b21..1ef72cfeb2 100644 --- a/meta/classes/populate_sdk.bbclass +++ b/meta/classes/populate_sdk.bbclass @@ -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"