Hi Robert,
On Sun, May 30, 2021 at 04:31:24PM -0400, Robert P. J. Day wrote:
>
> am i right in assuming that stuff like this in ptest.bbclass:
>
> do_configure_ptest() {
> :
> }
>
> can be replaced by using the "noexec" flag?
>
No.
[noexec] effectively disables the whole task while the code snippet
above allows to _prepend, _append, overrides for a given
machine/distro/target/native.
Also, I assume that you need a tak to be defined in order to addtask it
and then noexec it?
> if so, then this in base.bbclass looks a bit strange:
>
> do_build[noexec] = "1"
> do_build[recrdeptask] += "do_deploy"
> do_build () {
> :
> }
>
Don't know if it actually makes sense, but this defines a build task,
which can then be "noexec"-ed. One can then decide to exec it and
add code to the function.
Since do_build is the task that is called when you do bitbake <recipe>
(and probably many other scenarios, e.g. EXTRA_IMAGEDEPENDS?) it should
always be defined even though it is just basically the root node of the
task dependency tree.
Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152459):
https://lists.openembedded.org/g/openembedded-core/message/152459
Mute This Topic: https://lists.openembedded.org/mt/83195933/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-