cancel
Showing results for 
Search instead for 
Did you mean: 

Force re-compile local kernel changes

NPal.2
Senior

Hi,

I have done certain changes to support the display in the dts files.

I have modified dts files under kernel and u-boot.

I had also added certain changes in panel-simple.c file as well.

I gave a build and forgot to make some changes. So i changed those locally and gave :

bitbake st-image-weston

But this time around upon checking i found out that latest changes i made were not compiled and a new .o was not generated. How can i make sure , that local changes are compiled by yocto build system??

1 ACCEPTED SOLUTION

Accepted Solutions

It looks like you are making changes to the temporary build directory.

You need to clone the u-boot and kernel source code, make changes, create patches and add them to the layer.

View solution in original post

6 REPLIES 6
Mikalaj Karhin
Associate III

Hey!

From which folder did you change dts?

NPal.2
Senior

Hi @Mikalaj Karhin​ : I changed the driver file : drivers/gpu/drm/panel/panel-simple.c

Did you create a patch and add it to a build layer?

NPal.2
Senior

I directly modified the file under the kernel-source folder which was downloaded. It was a local change. I did not create patch and added it to yocto .

It looks like you are making changes to the temporary build directory.

You need to clone the u-boot and kernel source code, make changes, create patches and add them to the layer.

THanks @Mikalaj Karhin​ for the suggestion. Will take a look this might help.