On Mon, Aug 30, 2010 at 9:52 AM, Esben Haabendal
<[email protected]>wrote:

> On Thu, Aug 26, 2010 at 4:27 PM, Chris Larson <[email protected]> wrote:
>
> > Okay, how about..
> >
> > OVERRIDES =. "$...@['', 'target:']['${BPN}' == '${PN}']}"
>
> I can also think of at least one way to do this without using anonymous
> code.
>
> In base.bbclass:
> RECIPE_TYPE = "target"
> OVERRIDES =. "${RECIPE_TYPE}"
>
> In native.bbclass:
> RECIPE_TYPE = "native"
>
> In cross.bbclass:
> RECIPE_TYPE = "cross"


And nativesdk, and sdk, and crosssdk, and cross-canadian, and.. ;)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to