meta data for this page

tasks

Bitbake tasks

  • fetch If needed, make local copy of remote sources (bz2, git, svn, …).
  • unpack prepare source of package in work directory (bz2 - unpack, git - clone from local copy, etc)
  • patch apply all *.patch files from SRC_URI
  • configure
  • compile
  • install
  • package split installed on fake sysroot files into separate packages:
    • main package or library (package_name)
    • debugging symbols (package_name-dbg)
    • documentation (package_name-doc)
    • locales (package_name-locale)
    • development headers (package_name-dev)
  • clean
  • cleanstate remove output and SSTATE cache files for given package

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"