Making Kernel/.config Changes to yocto tree

Putting this out here for a FYI the /kernel path in the yocto source is a git repository you need to modify 2 branches to make changes to the kernel and or config you must work on both these branches

see
meta-swi/meta-swi-mdm9x15/recipes-kernel/linux/linux-yocto_3.14.bbappend

git branch
meta-yocto-1.7-swi-le55
standard/swi-mdm9x15-yocto-1.7-swi-le55

Linux kernel
standard/swi-mdm9x15-yocto-1.7-swi-le55

Yocto Configuration
meta-yocto-1.7-swi-le55

Took me more time than it should have to figure it out so perhaps add it to the documentation ?

Hello gregnietsky,

In your local.conf file, what are the key value of KBRANCH_DEFAULT_MDM9X15 & KMETA_DEFAULT_MDM9X15 ?

KBRANCH_DEFAULT_MDM9X15 = “standard/swi-mdm9x15-yocto-1.7-swi-le55”
KMETA_DEFAULT_MDM9X15 = “meta-yocto-1.7-swi-le55”

If you modify the Linux kernel directly in the $YOCTO_ROOT_DIR/Kernel directory, do not forget to commit because the source files will be extracted in $YOCTO_ROOT_DIR/build/tmp/work/swi_mdm9x15-poky-linux-gnueabi/linux-yocto/3.14.29+gitAUTOINC+a00e464379_961314f925-r0.1/linux.

Best regards,

1 Like

Indeed thanks

from meta-swi/meta-swi-mdm9x15/recipes-kernel/linux/linux-yocto_3.14.bbappend

KBRANCH_DEFAULT_MDM9X15 ?= “standard/swi-mdm9x15-yocto-1.7-swi-le55”
KMETA_DEFAULT_MDM9X15 ?= “meta-yocto-1.7-swi-le55”