FAQ_MA35_Family_Recompile Source Code
Posted: 23 Apr 2024, 15:08
Sometimes you may find that you have modified source code but after compiling and you still got an old image. Those of auto compiling tools are not detect which file you modified, so you need to use some commands to force to recompile.
Here, we provide three commands to rebuild the important three part of image.
The last command in Buildroot and Yocto mean you need to pack them again.
Buildroot
Yocto
If you want to recompile some package, you still can do it by the below rules.
Buildroot
Yocto
Yocto also supports a special command to search which package can be compiled.
#Recompile #Source code #Rebuild
Here, we provide three commands to rebuild the important three part of image.
The last command in Buildroot and Yocto mean you need to pack them again.
Buildroot
Code: Select all
$ make arm-trusted-firmware
$ make uboot-rebuild
$ make linux-rebuild
$ make
Code: Select all
$ bitbake tf-a-ma35d1 –C compile
$ bitbake linux-ma35d1 -C compile
$ bitbake u-boot-ma35d1 -C compile
$ bitbake nvt-image-qt5 –c cleanall
$ bitbake nvt-image-qt5
Buildroot
Code: Select all
$ make show-targets
$ make (package name)-rebuild
Code: Select all
$ bitbake (package name) -C compile
Code: Select all
$ bitbake -s | grep (package name)