[OE-core] is defining an empty task same as "[noexec]" task flag?

Richard Purdie richard.purdie at linuxfoundation.org
Sun Dec 23 18:10:02 UTC 2012


On Sun, 2012-12-23 at 10:23 -0600, Robert P. J. Day wrote:
> is overriding something like do_compile() like this:
> 
> do_compile() {
>         :
> }

This will get run but does nothing.

> equivalent to:
> 
> do_compile[noexec] = "1"

Bitbake won't even fork() a process to try and execute this so its
marginally more efficient.

Cheers,

Richard





More information about the Openembedded-core mailing list