[oe] Native/Cross/SDK rethink (Was: Re: RFC: "Virtual" native and sdk recipes)

Tom Rini trini at kernel.crashing.org
Mon Jan 5 15:42:10 UTC 2009


On Mon, Jan 05, 2009 at 03:31:53PM +0100, Esben Haabendal wrote:
> On Fri, Jan 2, 2009 at 5:37 AM, Tom Rini <trini at kernel.crashing.org> wrote:
> > On Fri, Jan 02, 2009 at 01:11:53AM +0000, Richard Purdie wrote:
> >
> > [snip]
> >> Ideally I want to be able to generate a Linux 32 bit toolchain, a Linux
> >> 64 bit toolchain and a windows one. If I can do that using canadian-sdk,
> >> the current -sdk stuff can be removed.
> >
> > It's a theory, and not one I've tested (and I know it won't work _today_
> > as there's some hard-coded C:\ paths right now.  Those can die if we
> > build it properly relocatible like CodeSourcery does).
> 
> Sorry, but where would that be?
> 
> In class/canadian-sdk.bbclass:
> 
> SDK_PATH_sdk-mingw32 = "/OpenEmbedded/${SDK_NAME}"
> SDK_REALPATH = "${SDK_PATH}"
> SDK_REALPATH_sdk-mingw32 = "C:/OpenEmbedded/${SDK_NAME}"
> 
> Which should only hard-code C:/ into mingw32 toolchains.  I don't
> remember seing C:\

Just mis-remembered.  But the big point is we should be able to compile
everyone for /OpenEmbedded/${SDK_NAME} and it should just work.

-- 
Tom Rini




More information about the Openembedded-devel mailing list