[oe] inherit both kernel and autotools

Justin Patrin papercrane at gmail.com
Fri Oct 20 14:55:32 UTC 2006


On 10/20/06, Christopher Lang <christopher.lang at plus.cablesurf.de> wrote:
>
> Hi,
>
> In a .bb recipe, if I write: "inherit kernel autotools", which one of the two
> overlapping exported methods "do_configure" and "do_install" will be the ones
> used when bitbaking the .bb file?
>
> The methods from kernel or autotools?
>
> Does it depend on the order of the two classes? "kernel autotools" or
> "autotools kernel"?
>
>
> kernel.bbclass: EXPORT_FUNCTIONS do_compile do_install do_stage do_configure
> autotools.bbclass: EXPORT_FUNCTIONS do_configure do_install
>

I would think that the last one inherited would override the other.
This isn't hard to test yourself, though.

-- 
Justin Patrin




More information about the Openembedded-devel mailing list