I'm following below command to rebuild u-boot
4. Rebuild u-boot
$ bitbake -c cleansstate u-boot-ls1
$ bitbake -c patch u-boot-ls1
$ bitbake -c compile u-boot-ls1
$ bitbake u-boot-ls1
first time, it's ok but after build, i modify and rebuild many times.
then modified files are not effective. so i have to command "bitbake -c cleansstate u-boot-ls1".
then modified files are deleted.... so i'm doing backup files and merge again after clean / patch.
how should i rebuild many times.....?
or to build u-boot with yocto project, should i clean every time?
Solved! Go to Solution.
You can use something like this to modify and apply your modification to uboot build.
$ bitbake -c cleansstate u-boot-ls1
$ bitbake -c patch u-boot-ls1
Modify the uboot sources
$ bitbake -c compile u-boot-ls1
$ bitbake u-boot-ls1
Also, if you don't want to delete your files every time you modify uboot sources you can use:
$ bitbake -c compile -f u-boot-ls1
$ bitbake u-boot-ls1
Adrian
You can use something like this to modify and apply your modification to uboot build.
$ bitbake -c cleansstate u-boot-ls1
$ bitbake -c patch u-boot-ls1
Modify the uboot sources
$ bitbake -c compile u-boot-ls1
$ bitbake u-boot-ls1
Also, if you don't want to delete your files every time you modify uboot sources you can use:
$ bitbake -c compile -f u-boot-ls1
$ bitbake u-boot-ls1
Adrian
thanks.....
what is the -f option?
-f will force uboot recompilation.
Adrian