* is defining an empty task same as "[noexec]" task flag?
@ 2012-12-23 16:23 Robert P. J. Day
2012-12-23 18:10 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2012-12-23 16:23 UTC (permalink / raw)
To: OE Core mailing list
is overriding something like do_compile() like this:
do_compile() {
:
}
equivalent to:
do_compile[noexec] = "1"
if so, is there a stylistic preference?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: is defining an empty task same as "[noexec]" task flag? 2012-12-23 16:23 is defining an empty task same as "[noexec]" task flag? Robert P. J. Day @ 2012-12-23 18:10 ` Richard Purdie 2012-12-23 21:22 ` Robert P. J. Day 0 siblings, 1 reply; 3+ messages in thread From: Richard Purdie @ 2012-12-23 18:10 UTC (permalink / raw) To: Robert P. J. Day; +Cc: OE Core mailing list 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: is defining an empty task same as "[noexec]" task flag? 2012-12-23 18:10 ` Richard Purdie @ 2012-12-23 21:22 ` Robert P. J. Day 0 siblings, 0 replies; 3+ messages in thread From: Robert P. J. Day @ 2012-12-23 21:22 UTC (permalink / raw) To: Richard Purdie; +Cc: OE Core mailing list 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 ======================================================================== ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-23 21:37 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-12-23 16:23 is defining an empty task same as "[noexec]" task flag? Robert P. J. Day 2012-12-23 18:10 ` Richard Purdie 2012-12-23 21:22 ` Robert P. J. Day
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox