Yocto: variable overrides tricks
Kernel Recipes conference in Paris One of the best for Linux kernel topics 😉. Recommended by Root Commit!I discovered a intriguing phenomenon while preparing my How to test the latest mainline Linux kernel or bootloader presentation at OpenEmbedded Workshop 2025. It turned out there was something incomplete in my understanding of BitBake variable overrides. Let’s take the example of a meta-mainline recipe from my Kernel Recipes: SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git;branch=linux-6.13.y;protocol=https" Then, depending on the MACHINE setting, I want to use an override to add files or patches to SRC_URI… ...