Reputation: 122
I'm new at Yocto project.
The problem is rebuilding with source editing.
The flow which I tried is below.
Build Yocto Project ( bitbake core-image-weston )
After building, I edited weston source code. ( build/tmp/work/aarch64-poky-linux/weston/1.9.0-r0/git/ivi-shell/hmi-controller.c )
Re-Build Yocto Project. ( I don't know how can I rebuild it, so I tried many ways. )
I checked output rootfs : core-image-weston-.tar.bz But it doesn't changed. (I added a wrong codes which cause build error, but build error is not occured ever! )
So, I hope to know how can I edit source code(weston) and build it correctly. finally, I hope to get properly built rootfs.
Thank you.
Upvotes: 3
Views: 5115
Reputation: 980
After recompiling the the package, you should also rerun the build of the image. Then the changes should be included:
bitbake -c compile -f weston
bitbake core-image-weston
Upvotes: 4