I have done the bitbake fsl-image-qt5 already;
But now I have to modify some files in QT5.5.1, and then I want to rebuild the QT;
So I run the command "bitbake fsl-image-qt5 -c compile", but nothing was built; It seems that yocto thinks that there is no need to rerun the compile;
If I run "bitbake fsl-image-qt5 -c compile -f", I got the same result as above;
So,could anyone tell me how to deal with this problem?
Is there another way to build qt, or command I could use?
I am new to yocto, any advice appreciated;
Hello Jian Wang,
Yocto is focused on distribution of customized linux images rather than on development. That’s why it does not track changes on the sources. If you do make any changes you would need to make a clean prior to baking again so you make sure that all files are compiled again; otherwise, if binaries exists for a specific file these won’t be rerun.
You can so a clean with the command:
$ bitbake -c cleanall <IMAGE_OR_RECIPE>
Regards,