Your First BitBake Recipe: Hello World in a meta- Layer
Create a custom layer and a minimal recipe step by step, install your compiled program into a QEMU image, and learn SRC_URI / S / do_compile.
4 posts
Series practice · grow through practice
No need to finish reading. Practice covers the whole tier bank; exams draw random questions.
Create a custom layer and a minimal recipe step by step, install your compiled program into a QEMU image, and learn SRC_URI / S / do_compile.
Using the real embedai repo: why a Yocto project with many upstream layers is better served by declarative KAS than tegra-demo-distro-style submodules — one kas.yml pins versions, config is documentation, and daily work is three commands.
KAS is a YAML orchestration tool for BitBake projects: declare repos/layers, machine/distro/target, local.conf snippets and lockfiles, then use kas build/checkout/shell to reproduce the build. It is not BitBake and not a layer.
A Yocto layer is not just a directory; it is a metadata collection declared by layer.conf. This article starts from create-layer, explains BBFILES/BBFILE_PATTERN/priority/compatibility line by line, and gives verification commands.
Subscribe via RSS to get new posts automatically.
Technical questions, feedback and leads: use the guestbook.