The Linux kernel repository contains files for various supported architectures, but in actual build, not all files are used. If I have a modified Linux kernel source code, which contains all the files from the original tree but doesn't use them, how can I identify those files which are relevant to the build?.
P.S. - I have a kernel source for an android device, I'm trying to figure out only those files which are required by the build.