[OE-core] [RFC PATCH 1/3] base.bbclass: Run oe_import before other INHERITs

Richard Purdie richard.purdie at linuxfoundation.org
Wed Mar 26 15:55:58 UTC 2014


On Wed, 2014-03-26 at 08:34 -0700, Chris Larson wrote:
> 
> On Wed, Mar 26, 2014 at 2:30 AM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
>         +# We need the oe module name space early (before INHERITs get
>         added)
>         +# and whilst ugly, abusing inherit like this is quite
>         effective
>         +BASEIMPORTS = "${@oe_import(d)}"
>         +inherit ${BASEIMPORTS}
> 
> Wouldn't OE_IMPORTED := "${@oe_import(d)}" work as well, or am I
> missing something?

That would work as well. I just came to the other solution though a
different route... :)

Cheers,

Richard







More information about the Openembedded-core mailing list