Table of Contents

tasks

Bitbake tasks

remove tasks

Usefull to remove default tasks (configure + compile) for copy-only packages.

3 method possible:

  1. deltask - completely removes tasks and its dependency (use with care!)
  2. NOP task - define tasks as empty: do_compile() { : }. Old way to “disable”, tasks are still executed so it generate overhead.
  3. do_task[noexec] - is new way to cleanly disable task. No overhead, task is skipped.
do_fetch[noexec] = "1"
do_unpack[noexec] = "1"
do_patch[noexec] = "1"
do_configure[noexec] = "1"
do_compile[noexec] = "1"