Openembedded Core Discussions
 help / color / mirror / Atom feed
* meta-toolchain-sdk build dir names
@ 2011-08-09 15:46 Kumar Gala
  2011-08-09 16:25 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2011-08-09 15:46 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

When we do a build we get something like:

opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux

Where does the 'powerpc-poky-linux' name come from?

I think this needs to be more specific to the build if required because of how AVAILTUNES, etc are set.

So something like:

opt/poky/1.0+snapshot/sysroots/ppc603e-poky-linux


- k


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

* Re: meta-toolchain-sdk build dir names
  2011-08-09 15:46 meta-toolchain-sdk build dir names Kumar Gala
@ 2011-08-09 16:25 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-08-09 16:25 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-08-09 at 10:46 -0500, Kumar Gala wrote:
> When we do a build we get something like:
> 
> opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux
> 
> Where does the 'powerpc-poky-linux' name come from?
> 
> I think this needs to be more specific to the build if required because of how AVAILTUNES, etc are set.
> 
> So something like:
> 
> opt/poky/1.0+snapshot/sysroots/ppc603e-poky-linux

Agreed, this is a problem with how we're currently setting up the sdk
structure. Something like this will likely fix it:

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

Cheers,

Richard




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

end of thread, other threads:[~2011-08-09 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 15:46 meta-toolchain-sdk build dir names Kumar Gala
2011-08-09 16:25 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox