Skip to contentSkip to conversation

inherit both kernel and autotools

DISCUSSION Christopher Lang 2 participants 2 messages Oct 20, 2006

lore
Share & tools
lore
#0 lore raw

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"?

thanks
Chris

kernel.bbclass: EXPORT_FUNCTIONS do_compile do_install do_stage do_configure autotools.bbclass: EXPORT_FUNCTIONS do_configure do_install

#1 lore raw
Quoted 7 lines · Christopher Lang

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?

Quoted 9 lines

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.

Signature · 1 line
Justin Patrin