# Change the kernel options and rebuild the Yocto project for WP7502

**URL:** <https://forum.legato.io/t/change-the-kernel-options-and-rebuild-the-yocto-project-for-wp7502/2282>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [December 8, 2016, 3:20pm UTC](https://forum.legato.io/t/change-the-kernel-options-and-rebuild-the-yocto-project-for-wp7502/2282 "2016-12-08T15:20:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mirceac](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mirceac](https://forum.legato.io/u/mirceac)\
**Post date:** [December 8, 2016, 3:20pm UTC](https://forum.legato.io/t/change-the-kernel-options-and-rebuild-the-yocto-project-for-wp7502/2282/1 "2016-12-08T15:20:19Z")

</div>

Hello, I want to change some kernel options and rebuild the Legato Linux distribution with the new options.  
Unfortunately, it is not very clear to me on how to change the kernel options in the Yocto project and how to rebuild the firmware image for the WP7502.  
If somebody can point me to a file that can be edited for the kernel configuration options and what parameter(s) should be given to the make command to build the firmware image for the WP7502 I’ll be very grateful, because I’ve started to read the documentation but is yuuuuuge.  
Many thanks.

---

<div class="post-metadata">

**Author:** ![Manukumar](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Manukumar](https://forum.legato.io/u/Manukumar)\
**Post date:** [February 16, 2018, 10:02am UTC](https://forum.legato.io/t/change-the-kernel-options-and-rebuild-the-yocto-project-for-wp7502/2282/2 "2018-02-16T10:02:29Z")

</div>

For building kernel or to get boot-yocto image:  
Download latest release according to your PC(I have used Linux ubuntu 16.04) of 64 bit.  
Unzip the file.you will get legato-spm tool.  
Run "legato-spm --install --module WP750X --update-link "  
Run “legato-spm --install --module WP750X --sdk pdk.64”  
there will be “legato.source.”  
Enter into that directory and give “make”(It will take \>1 Hr max).  
later create build environment for kernel configuration for that you need to use below commands:  
source poky/oe-init-build-env build\_bin  
. poky to get build\_env  
bitbake linux-yocto -c menuconfig  
bitbake -c linux-yocto compile  
Run Once again “make” to reflect the configurations changed in the flashing image.
