I found after Linux kernel building done, it will generate dependency file in default. For instance, “.ipu_disp.o.cmd”. We can check the dependency file and make a file list which involved into building procedure, and then we will have much smaller file list for our IDE to browse the project. I have made a script file which can generate file list base one those dependency files. Attached file “prj-list.txt” is my kernel file list, I have tested it, my IDE can import it as project file list.
- Install ruby. “$ apt-get install ruby1.9.1”
- Copy attached file “t.rb to your Linux kernel directory, for instance, “~/work/er6/linux-220.127.116.11”
- Run t.rb. “$ ruby1.9.1 t.rb”, it will output the file name which been processed. Something like:
4 .Get prj-list.txt in Linux kernel directory, try to import it in your IDE.
Original Attachment has been moved to: 436-t.rb