Skip to main content
Visitor II
July 2, 2021
Solved

Force re-compile local kernel changes

  • July 2, 2021
  • 3 replies
  • 2196 views

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??

    This topic has been closed for replies.
    Best answer by Mikalaj Karhin

    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.

    3 replies

    Visitor II
    July 3, 2021

    Hey!

    From which folder did you change dts?

    NPal.2Author
    Visitor II
    July 5, 2021

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

    Visitor II
    July 5, 2021

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

    NPal.2Author
    Visitor II
    July 5, 2021

    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 .

    Visitor II
    July 5, 2021

    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.

    NPal.2Author
    Visitor II
    July 10, 2021

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