Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: openembedded-devel@openembedded.org
Subject: Re: Native/Cross/SDK rethink (Was: Re: RFC: "Virtual" native	and sdk recipes)
Date: Mon, 5 Jan 2009 12:53:38 -0700	[thread overview]
Message-ID: <20090105195338.GS400@smtp.west.cox.net> (raw)
In-Reply-To: <gjtg1m$rsd$1@ger.gmane.org>

On Mon, Jan 05, 2009 at 06:29:24PM +0100, Koen Kooi wrote:
> On 05-01-09 15:31, Esben Haabendal wrote:
>> On Fri, Jan 2, 2009 at 5:37 AM, Tom Rini<trini@kernel.crashing.org>  wrote:
>>> On Fri, Jan 02, 2009 at 01:11:53AM +0000, Richard Purdie wrote:
>
>>>> This does reverse the logic that the current sdk class we use however
>>>> since MACHINE is now the machine we want to run the compiler on, not the
>>>> machine we want to compile for. It should be simple enough to add some
>>>> MACHINEs and version setups which correspond to a Linux 32 bit system, a
>>>> Linux 64 bit system and a windows system though. Assuming the choice of
>>>> TARGET for gcc-canadian is controlled by a variable like SDKTARGET, to
>>>> run the builds I'd want, I'd run:
>>>>
>>>> MACHINE=i686-generic   SDKTARGET=armv5te-generic bitbake gcc-canadian
>>>> MACHINE=x86-64-generic SDKTARGET=armv5te-generic bitbake gcc-canadian
>>>> MACHINE=winxp-generic  SDKTARGET=armv5te-generic bitbake gcc-canadian
>>> Or 'meta-toolchain-sbox' for an existing SDK type target.
>>
>> I'm sorry, but this seems like a dangerous way of starting confusion of terms.
>> MACHINE in how I see OE is really the _TARGET_, ie. the small device this all
>> is targeted at.
>
> MACHINE is where the generated stuff will _run_ on, so MACHINE=x86  
> SDKTARGET=armv5te would be more in line with what OE expects, but I  
> agree it can be confusing if you are thinking in autotools terms.

The real trick is the SDK is for a specific target machine.  Should
still be doable, just need to get some magic to deal with if SDKTARGET
being set, re-set MACHINE, except for some cases

-- 
Tom Rini



  reply	other threads:[~2009-01-05 19:59 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-01 16:25 RFC: "Virtual" native and sdk recipes Richard Purdie
2009-01-01 18:11 ` Koen Kooi
2009-01-01 20:07   ` Richard Purdie
2009-01-01 18:25 ` Tom Rini
2009-01-01 20:11   ` Richard Purdie
2009-01-01 22:02     ` Tom Rini
2009-01-02  1:11       ` Richard Purdie
2009-01-02  4:37         ` Native/Cross/SDK rethink (Was: Re: RFC: "Virtual" native and sdk recipes) Tom Rini
2009-01-05 14:31           ` Esben Haabendal
2009-01-05 15:42             ` Tom Rini
2009-01-05 17:29             ` Koen Kooi
2009-01-05 19:53               ` Tom Rini [this message]
2009-01-06 20:51               ` Esben Haabendal
2009-01-07  0:14                 ` Richard Purdie
2009-01-07  0:45                   ` Tom Rini
2009-01-08 22:59                   ` Leon Woestenberg
2009-01-09  0:54         ` RFC: "Virtual" native and sdk recipes Richard Purdie
2009-01-09  1:16           ` Tom Rini
2009-01-12 19:09             ` Tom Rini
2009-01-12 20:30             ` Esben Haabendal
2009-01-09 17:04           ` Tom Rini
2009-01-12 20:47             ` Tom Rini
2009-01-10 15:33           ` Tom Rini
2009-01-10 19:06             ` Tom Rini
2009-01-14  1:15           ` Tom Rini
2009-01-14 23:17             ` Tom Rini
2009-01-17  2:54               ` Tom Rini
2009-01-17  4:47           ` Tom Rini
2009-01-22 18:10             ` Tom Rini
2009-01-28 19:49               ` Tom Rini
2009-01-01 22:15 ` Tom Rini
2009-01-01 23:19 ` Richard Purdie
2009-01-03 11:17   ` Richard Purdie
2009-01-02 12:58 ` Koen Kooi
2009-01-14  0:03 ` Robert Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090105195338.GS400@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox