# Making Kernel/.config Changes to yocto tree

**URL:** https://forum.legato.io/t/making-kernel-config-changes-to-yocto-tree/2386
**Category:** Legato Linux distribution (Yocto project)
**Created:** [March 15, 2017, 12:45pm UTC](https://forum.legato.io/t/making-kernel-config-changes-to-yocto-tree/2386 "2017-03-15T12:45:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gregnietsky](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@gregnietsky](https://forum.legato.io/u/gregnietsky)
#### Post date: [March 15, 2017, 12:45pm UTC](https://forum.legato.io/t/making-kernel-config-changes-to-yocto-tree/2386/1 "2017-03-15T12:45:49Z")

</div>

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 ?

---

<div class="post-metadata">

### Author: ![spastor](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/spastor/32/80_2.png) [@spastor](https://forum.legato.io/u/spastor)
#### Post date: [March 15, 2017, 1:07pm UTC](https://forum.legato.io/t/making-kernel-config-changes-to-yocto-tree/2386/2 "2017-03-15T13:07:46Z")

</div>

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,

---

<div class="post-metadata">

### Author: ![gregnietsky](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@gregnietsky](https://forum.legato.io/u/gregnietsky)
#### Post date: [March 15, 2017, 1:15pm UTC](https://forum.legato.io/t/making-kernel-config-changes-to-yocto-tree/2386/3 "2017-03-15T13:15:29Z")

</div>

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”
