Yocto Build Directory Layout
This section describes the directory layout after installing the SDK using the steps described in Installing the SDK. The $HOME/yocto directory should look like the following:
$HOME/yocto
|--- gateway # This is the project folder (also called build folder in yocto terms)
|--- java
# This contains the Oracle Embedded JRE (ejre)
|--- meta-eurotech # Eurotech BSP layer
|--- meta-fsl-arm # Yocto BSP layer for Freescale's ARM based platforms
|--- meta-fsl-arm-extra # Yocto BSP layer for Freescale's ARM based platforms
|--- meta-fsl-demos # Yocto BSP layer for Freescale's ARM based platforms
|--- meta-oe # Contains collection of layers for the OE-core
|--- poky # The build system and development environment
$HOME/yocto/meta-eurotech
The Eurotech BSP layer provides support for different Eurotech's products. All the changes required to create a custom image based on your requirement should be done in this later.
$HOME/yocto/meta-eurotech
|--- common # Contains common BSP layers
|--- conf # Contains configuration files
|--- meta-cpu-3xx # Contain BSP layer for CPU-3XX
|--- meta-mini-gateway # Contain BSP layer for mini-gateway
|--- README.md
$HOME/yocto/gateway
This is the project folder (also called build folder in yocto terms). The name of this folder depends on the name given while starting the build (Refer to Building Images section). The directory structure of $HOME/yocto/gateway looks as follows:
$HOME/yocto/gateway
|--- bitbake.lock
|--- conf # Contains configuration files
|--- pseudodone
|--- sstate-cache # The shared state cache.
|--- tmp # The temporary build directory
$HOME/yocto/gateway/sstate-cache
This has the packages data snapshots and it mainly used to speed up the build process by reusing the already built sstate files.
$HOME/yocto/gateway/tmp
This is a temporary build directory. The build system creates and uses this directory for all the build system's output. The tmp directory has many sub-directories but the most important of them is $HOME/yocto/gateway/tmp/deploy. It contains the build products such as images, packages and SDK’s. For more information on other directories, please refer to Yocto documentation.