Workflow of Yocto Project


Step1: Download the Poky Source code

$ git clone git://git.yoctoproject.org/poky --branch sumo

Step 2: Prepare the build environment. Inside the poky directory, there is a script named oe_init_build_env, which should be used to setup the build environment

$ source poky/oe_init_build_env [ build_directory ]

Here build_directory is an optional argument for the name of the directory where the environment is set; in case it is not given , it defaults to "build"

Step 3: The above script will move you in a build folder and create two files ( local.conf, bblayers.conf ) inside conf folder. Now you can run any commands

Step 4: Building Target Image

bitbake <recipeName>
bitbake core_image_full_cmdline

Comments

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PR, PN and PV Variable in Yocto