Most important tasks performed by bitbake


Yocto build Bitbake tool parses a recipe and generates a list of tasks that it can execute to perform the build steps. The most important tasks are:

  • do_fetch : Fetches the source code
  • do_unpack : Unpacks the source code into a working directory
  • do_patch: Locates patch files and applies them to the source code
  • do_configure: Configures the source by enabling and disabling any build time and configuration options for the software being built
  • do_compile: Compiles the source in compilation directory
  • do_install: Copies file from the compilation directory to a holding area
  • do_package: Analyzes the content of the holding area and splits into subsets based on available packages and files
  • do_package_write_rpm: Creates the actual RPM package and places them in the Package Feed Area

The above task list is in the correct dependency order.

Comments

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig