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:
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.- setting task empty
do_task() { : }
. old way of disabling task. task still executed, there's nothing in to. thus, execution overhead remain. do_task[noexec]
, newer way of disabling task. pretty similar 2., won't keep execution overhead (as task never execute @ all).
Comments
Post a Comment