Reputation: 328
I am trying to study the execution flow of SPL and U-boot proper specifically for BeagleBone Black(am335x_boneblack_defconfig) by browsing through the source code.
How can i generate the list of source files which gets compiled into U-boot proper(u-boot.img) and SPL(MLO) binaries? If i get a list of files which gets compiled for SPL and U-boot separately, then i can use cscope to browse through the code. ( make cscope just generates the list of files which gets compiled for U-boot proper, and it includes many files which are not compiled into binary )
How can i generate the configuration macros(CONFIG_*) which are used during build process of U-boot and SPL binaries? Is include/generated/autoconf.h containing the macros used for U-boot.
What does u-boot.cfg and spl/u-boot.cfg contain? Are these the configuration macros used for building U-boot and SPL respectively?
Upvotes: 1
Views: 633
Reputation: 21
The files that are compiled can be seen while u-boot sources are getting compiled, as verbose, when you perform the following.
Upvotes: 2