title: How to get a whole list of compiled files of Linux kernel?
body: <p>I'm working on different Android projects and need to setup project in Source Insight for different kernel source tree.
  There are many unused files in kernel, I want to find a method to pick out all .c,.h,.S files that are compiled in kernel. I was nearly crazy when I pick the source files manually.</p>
  
  <p>I'd wrote a script that can pick up the files corresponding to the .o files, but there are some .o files are compiled by multiple .c files, which make it more complicated.</p>
  
  <p>Is there an easier way to know what files are handled in the compiling process?</p>
  
  <p>Any information would be greatly appreciated.</p>
  
  <p>It's my first question in stackoverflow, I love here so much.</p>
  
  <p>Thanks.</p>