2. Terminologies
• BitBake is a build engine that follows recipes
in a specific format in order to perform sets of
tasks. BitBake is a core component of the
Yocto Project.
• A Python framework
3. What is the goal ?
• IMAGE
– Defines
• Create boot image (Uboot, MLO, env)
• Create filesystem with some specific functionality (ex, SGX)
• MACHINE
– For a specific platform
• Targeting what distribution
– Poky ?
– Arago ?
– Angstrom ?
8. Example – Graphics package – How to
include in MACHINE IMAGE
• Specify version of Graphics SDK that goes into
AM-SDK image
– sources/meta-arago/meta-arago-
distro/conf/distro/arago.conf
• Ex 4.09.00.01
• Specify sub-packages of Graphics SDK
– sources/meta-arago/meta-arago-distro/recipes-
core/packagegroups/packagegroup-arago-tisdk-
graphics.bb
• Ex, which demos
9. Temporary outputs (Yocto base)
• In-work packages are stored at,
– poky/build/tmp/work/beaglebone-poky-linux-
gnueabi/
– For example, libgles-omap3-4.09.00.01-
r35/packages-split
10. Example - Graphics SDK Package
Definition
• User space binary
– sources/meta-ti/recipes-graphics/libgles
• libgles-omap3_4.09.00.01.bb
• Kernel module
– sources/meta-ti/recipes-bsp/powervr-drivers
• omap3-sgx-modules_4.09.00.01.bb