[bitbake-devel] what happens if i set up a class function for exporting, but don't export?

Paul Eggleton paul.eggleton at linux.intel.com
Fri Mar 20 08:59:45 UTC 2015


On Wednesday 11 March 2015 04:50:14 Robert P. J. Day wrote:
>   reading bitbake user manual, section 3.4.5, "Flexible Inheritance
> for Class Functions", and i know how it works, but what happens if
> you're writing a .bbclass file, define a function with the format such
> that it's ready for exporting:
> 
>   <classname>_<functionmame>
> 
> but subsequently don't export it with EXPORT_FUNCTIONS? by what name
> will it still be available to inheriting files?

Whether EXPORT_FUNCTIONS is used or not, the function will always be callable 
as <classname>_<functionname> (since that's how you have defined it).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the bitbake-devel mailing list