Search code examples
yoctobitbake

How can I skip steps in bitbake compilation procedure?


Let's say I'm writing a recipe and would like disable for debugging e.g. do_compile, how can I achieve that? The recipe in question is compiling a C library. I tried a few things such as overwriting:

do_compile() {
    pass
}

and leaving the function empty. But this did not skip the compilation.


Solution

  • You can always use:

    do_compile[noexec] = "1"
    

    See https://www.yoctoproject.org/docs/3.0/mega-manual/mega-manual.html#deleting-a-task