Build directory in Yocto


The build directory is created when you run source oe-init-build-env script.  Its main directories are:

  • conf : Configuration files which control poky and Bitbake. build/conf/local.conf and build/conf/bblayers.conf are present in it
  • downloads: yocto stores all the downloaded packages (Source files), including those downloaded over SVN or git or similar
  • sstate-cache: snapshost of an unaltered Yocto recipe deployed as a set of packaged data generating a cache. Bitbake checks SSTATE to see if a recipe does not need to be rebuilt, thereby saving time.
  • tmp:  temporary  build directory. We will see a lot more about tmp directory in the upcoming posts.


Comments

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PREFERRED_PROVIDER and PREFERRED_VERSION in Yocto