How to get a whole list of compiled files of Linux kernel?
问题 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. 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. Is there an easier way