inherit both kernel and autotools
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
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_FUNCTIONSdo_compiledo_installdo_stagedo_configureautotools.bbclass:EXPORT_FUNCTIONSdo_configuredo_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