[oe] compiling for a coprocessor with a different architecture

Tom Rini trini at kernel.crashing.org
Fri Apr 17 23:19:03 UTC 2009


On Fri, Apr 17, 2009 at 04:06:32PM -0500, Mike Turquette wrote:
> Hi all,
> 
> I work at TI and have some internal recipes we use to build DSP stuff
> in OE for OMAP.  The existing recipes are gross and fetch the DSP
> toolchain from a local server, then any other recipe that needs to be
> compiled with that for the DSP simply calls the compiler from native
> staging in a hardcoded fashion.
> 
> What is the right way to compile a subset of recipes for a different
> architecture than your main Linux stuff within OE?  Is there a
> mechanism for this already?  I'd like something that wasn't specific
> to TI or my recipes, and can be used for any number of coprocessors
> that have a different architecture from the main CPU.

Hmm.  If you can limit yourself to just one DSP toolchain, something
kind of like how we do canadian builds would work.  Roughly speaking,
check out conf/bitbake.conf for SDK_* variables and make DSP_ version.
Also check out classes/canadian*bbclass.

-- 
Tom Rini




More information about the Openembedded-devel mailing list