Skip to contentSkip to conversation

Setting kernel CONFIG variables in the RPi

DISCUSSION Paul D. DeRocco 1 participant 1 message Oct 11, 2017

lore
Share & tools
lore
#0 lore raw

Apparently, the meta-raspberrypi layer does not employ the Yocto method of modifying the kernel configuration through config fragments. Instead, it uses a kernel_configure_variable function called from within a do_configure_prepend function in recipes-kernel/linux/linux-rpi.inc.

The question is this: if the defconfig that comes with the kernel includes one value, but linux-rpi.inc overrides it to another value in do_configure_prepend, but I want the original value, how can I override it again in a .bbappend in my own layer? I can't use do_configure_prepend, because it would be defining a function already defined in the .bb file, right? Or if I could do that, wouldn't I be prepending it before what's prepended in the .bb file, so my change would play first, and then be undone by the .bb file? What's the solution?

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected]