Project files list generate

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Project files list generate

969 Views
MarkDing
Contributor I

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.

  1. Install ruby. “$ apt-get install ruby1.9.1”
  2. Copy attached file “t.rb to your Linux kernel directory, for instance, “~/work/er6/linux-2.6.35.3”
  3. Run t.rb. “$ ruby1.9.1 t.rb”, it will output the file name which been processed. Something like:

drivers/mxc/ipu3/.ipu_capture.o.cmd

drivers/mxc/ipu3/.ipu_ic.o.cmd

drivers/mxc/ipu3/.ipu_device.o.cmd

drivers/mxc/ipu3/.mxc_ipu.o.cmd

drivers/mxc/ipu3/.ipu_common.o.cmd

drivers/mxc/ipu3/.ipu_calc_stripes_sizes.o.cmd

drivers/mxc/ipu3/.ipu_disp.o.cmd

drivers/mxc/ipu3/.built-in.o.cmd

   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

Tags (1)
0 Kudos
Reply
0 Replies