All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] populate_sdk_base: Extend TOOLCHAIN_TARGET_TASK to include multilib variants
@ 2014-07-24 21:09 Richard Purdie
  2014-07-24 21:22 ` Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2014-07-24 21:09 UTC (permalink / raw)
  To: openembedded-core

Most people expect the toolchain from a multilib build to contain multilib
components. This change makes that happen and is easy for users to override
should they want something different.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 0df98db..4b489a6 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -32,7 +32,10 @@ SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${REAL_MULTIMACH_TARGET_SYS}"
 
 TOOLCHAIN_HOST_TASK ?= "nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-${MACHINE}"
 TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= ""
-TOOLCHAIN_TARGET_TASK ?= "packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg"
+TOOLCHAIN_TARGET_TASK ?= " \
+    ${@multilib_pkg_extend(d, 'packagegroup-core-standalone-sdk-target')} \
+    ${@multilib_pkg_extend(d, 'packagegroup-core-standalone-sdk-target-dbg')} \
+    "
 TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= ""
 TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}"
 




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] populate_sdk_base: Extend TOOLCHAIN_TARGET_TASK to include multilib variants
  2014-07-24 21:09 [PATCH] populate_sdk_base: Extend TOOLCHAIN_TARGET_TASK to include multilib variants Richard Purdie
@ 2014-07-24 21:22 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2014-07-24 21:22 UTC (permalink / raw)
  To: openembedded-core

On 7/24/14, 4:09 PM, Richard Purdie wrote:
> Most people expect the toolchain from a multilib build to contain multilib
> components. This change makes that happen and is easy for users to override
> should they want something different.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

I tested this (with ipk works, with rpm doesn't work any less then it did before...)

Acked-by: Mark Hatle <mark.hatle@windriver.com>

> diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
> index 0df98db..4b489a6 100644
> --- a/meta/classes/populate_sdk_base.bbclass
> +++ b/meta/classes/populate_sdk_base.bbclass
> @@ -32,7 +32,10 @@ SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${REAL_MULTIMACH_TARGET_SYS}"
>
>   TOOLCHAIN_HOST_TASK ?= "nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-${MACHINE}"
>   TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= ""
> -TOOLCHAIN_TARGET_TASK ?= "packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg"
> +TOOLCHAIN_TARGET_TASK ?= " \
> +    ${@multilib_pkg_extend(d, 'packagegroup-core-standalone-sdk-target')} \
> +    ${@multilib_pkg_extend(d, 'packagegroup-core-standalone-sdk-target-dbg')} \
> +    "
>   TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= ""
>   TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}"
>
>
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-24 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24 21:09 [PATCH] populate_sdk_base: Extend TOOLCHAIN_TARGET_TASK to include multilib variants Richard Purdie
2014-07-24 21:22 ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.