Build a makefile dependency / inheritance tree

view story

http://stackoverflow.com – Apologies if I explain this badly or am asking something bleeding obvious but I'm new to the Linux kernel and kinda in at the deep end... We have an embedded-linux system which arrives with a (very badly documented) SDK containing hundreds of folders of stuff, most folders containing a rules.make, make, make.config or some variation of... and the root folder containing a "master" makefile & rules.make which mean that you can, from the root folder, type "make sysall" and it builds the entire package. So far so good, but trying to debug it is a bit of an issue as the documentation will say (HowTos)