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

Robert P. J. Day rpjday at crashcourse.ca
Sun Dec 23 21:22:40 UTC 2012


On Sun, 23 Dec 2012, Richard Purdie wrote:

> 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.

  i suspected as much, just wanted to make sure.  thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list