##Purpose The linux kernel and u-boot contains lots of files, when we want to broswe the source code, we just want to see the compiled files, and the header files which required. This script will make a filelist to tell us the source files compiled and the header files required.

Also, the script would genenate a filelist for the source code broswer IDE/Editor(for now, support Source Insight, Scitools Understand and SlickEdit)

If you use the source insight or Scitools Understand, or SlickEdit to broswe the linux kernel or/and U-boot source code, this script would help you to add the compiled source code(.S,.C) when you improt needed source code and header files when create Project.

##Usage ####Demo shows in GIF ######GIF Shows How to generate Below is a GIF, shows how to generate the filelist and slickedit workspace/project, the parameters of command:

  • Parameter1, directory of compiled source code, here is kernel: ~/github/BBB/Sebastian-BBB-Hibernation-2
  • Parameter2, Output directory and slickedit workspace(and project) name

intro

######Usage of the generation for Source Insight Below Gif shows the procedure of generation and import intro

######Usage of the generation for SlickEdit intro

######Usage of the generation for Scitools Understand intro

###Text word illustration ####0. Compile compile the kernel or u-boot source code ####1. Clone

git clone https://github.com/tonyho/Generate_Kernel_Uboot_Project_forIDE.git

####2. Generate

cd Generate_kernel_uboot_project_forIDE
./PF_Prj_Gen.sh Path_For_Compiled_Kernel(Uboot)_Directory OutPutProjectFileName

This would create the filelist for Understand and Source Insight and the Slickedit Project in Outputprojectfilename. THen you can use these output file to genenate the project. ####Demo shows in Video You may want to see the video PF_Prj_Gen_example.mkv in directory usge of repo. In the video, I show the generation and the usage of the Generation file/project for Understand and SlickEdit.

Also a video(SourceInsight_Example.mkv in usage directory) shows the generation of filelist for the Source Insight.

##ToDo

  • Add Source Navigator Support
  • Add the dts/dtsi to filelist for kernel/uboot