I apologize if I explain it badly or I ask you to bleed something obvious, but I'm new to the Linux kernel and curious in depth ...
We have an embedded linux system that comes with a (very poorly documented) SDK containing hundreds of file folders, most folders containing rules.make, make, make.config or some changes ... and the root containing the "master" makefile and rules.make, which means that you can type βmake sysallβ in the root folder and build the whole package.
So far, so good, but trying to debug is a bit of a problem, as the documentation will say something like:
"To force the kernel to output debugging messages, simply define #outputdebugmessagesplz"
OK, but some of these things are defined in the make / rules "master" file, some of them are defined in the make / rules / config files for children, some of them are in the .h files ... and, of course, it's much better enable or disable these things from the "top" make.config, rather than changing individual .h files, and then forget to turn them off again.
So I thought it would be useful to build a tree recursively, starting with the main make file and follow everything that it does, everything that is defined or redefined, etc., but there doesn't seem to be an easy way to do this?
I assume that I do not have the "make" option that spits out this information or uses the makefile / config file that will work?
source share