yocto - What is the difference between do_compile[noexec] and empty function in bitbake recipe? -


if want disable particular build step, can use either of these:

do_configure[noexec] = "1" 

or

do_configure() { } 

what difference between these alternatives? have heard there can raise conditions when using noexec.

well, there's 3 ways of removing task:

  1. deltask removes task , it's dependencies. thus, tasks might depend on removed task won't automatic dependeny on removed tasks dependencies. (a->b->c, , removing b doesn't create a->c). thus, should used if know you're doing.
  2. setting task empty do_task() { : }. old way of disabling task. task still executed, there's nothing in to. thus, execution overhead remain.
  3. do_task[noexec], newer way of disabling task. pretty similar 2., won't keep execution overhead (as task never execute @ all).

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -