[bitbake-devel] [PATCH] fix bundled base.bbclass file

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 18 12:43:28 UTC 2013


On Mon, 2013-01-14 at 15:19 +0000, Andrew Stubbs wrote:
> The base.bbclass file that is included with the bitbake sources does not 
> appear to work properly. Specifically, none of the output appears on screen.
> 
> A quick look at the poky equivalent shows that they use a different 
> means to print the data. Presumably something got updated somewhere, and 
> the example base class is merely out of date.
> 
> The attached patch fixes the do_listtasks and do_showdata code such that 
> it works as I would expect.

I merged that, thanks.

> I had expected that the base_do_build function would run if my .bb file 
> did not define do_build, but it does not appear to, and it's not obvious 
> to me how, when, or why it is supposed to work.

Your expectation is correct, I'm not sure why that wouldn't happen. The
EXPORT_FUNCTIONS do_build should mean do_build gets mapped to
base_do_build.

Cheers,

Richard





More information about the bitbake-devel mailing list