[ How to edit source codes on Yocto project, and rebuild it? ]
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. )
- bitbake core-image-weston
- bitbake weston
- bitbake weston -c -f compile bitbake weston -c -f deploy
- bitbake weston -c -f rebuild
- bitbake weston -c -f build
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.
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