首先贴上原帖:https://blog.csdn.net/u011598479/article/details/80530639 1.在网址:https://github.com/tonyho/Generate_Kernel_Uboot_Project_forIDEdown下整个工程后,我们找到PF_Prj_Gen.sh这个脚本 2.然后我在我的ubuntu终端上输入以下指令: ./PF_Prj_Gen.sh /mnt/hgfs/linux/linux2.6.35-icool210-v1.7 ./output /mnt/hgfs/linux/linux2.6.35-icool210-v1.7 为我的内核路径,注意:必须为编译好的内核工程!!不然报错:Source code type is: [UNKNOWN] ./output 为输出文件路径 (不要提前创建,不然会报错) 执行完以上指令后,output的目录下文件为 但是我们只需要 FileList_SourceInsight.txt 3.在windows下是用FileList_SourceInsight.txt精确导入kernel工程 首先确定sourceinsight工程保存路径,这个路径随便设置,点击ok 然后设置要导入的kernel工程的路径,这个一定要设置到kernel的根目录下,并且点击ok 最后点击 Add from list..找到FileList_SourceInsight.txt文件,然后close 最后Project->Rebuild下工程。 |
|