[OE-core] diff between defining a "no-op" task and using [noexec]?

Robert P. J. Day rpjday at crashcourse.ca
Thu Oct 17 12:07:44 UTC 2013


  using a concrete example, there's this from oe core's
linux-dummy.bb:

do_configure() {
        :
}

do_compile () {
        :
}

do_install() {
        :
}

  what is the difference between the above and writing:

do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install[noexec] = "1"

  *is* there a difference? if so, does it have to do with the
processing of other flags for that task?

  i can see that, technically, the first variation still defines a
task to be run, while the second specifies that the task *not* be run,
so i can appreciate that those two operations have different results.

  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