[OE-core] populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

Lu, Lianhao lianhao.lu at intel.com
Wed Aug 10 04:00:22 UTC 2011


Richard Purdie wrote on 2011-08-10:
> 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 at linuxfoundation.org> ---
> diff --git a/meta/classes/populate_sdk.bbclass
> b/meta/classes/populate_sdk.bbclass index 0f3591b..8c19e83 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}"

In gcc-configure-sdk.inc, it is set "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS}". 
Is there any inconsistency?

Best Regards,
Lianhao

>  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"







More information about the Openembedded-core mailing list