zoukankan      html  css  js  c++  java
  • 【转】完整精确导入Kernel与Uboot参与编译了的代码到Source Insight,Understand, SlickEdit

    The linux kernel and u-boot contains lots of files, when we want to broswe the source code,we just want to see these compiled files, and the header files which required. So this script in this repo is to make a filelist to tell us the files compiled and the header files depended.

    Also, the script would genenate a filelist for the source code broswer IDE/Editor(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 create Project.

    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 of this repo) shows the generation of filelist for the Source Insight.

    GIF show

    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

    Usage of the generation for Source Insight

    Below Gif shows the procedure of generation and import

    Usage of the generation for SlickEdit

    Usage of the generation for Scitools Understand

    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.And you can use these output file to genenate the project.

  • 相关阅读:
    Python实现机器人聊天
    node.js使用express框架进行文件上传
    nginx让所有的http地址重定向到https
    nginx配置https
    vscode源码编译运行打包使其由英文变为中文
    阿里云配置tomcat https
    springboot打成的jar包如何在Linux上持久运行
    wordpress数据表分析
    DevExpress Components16.2.6 Source Code 重编译教程
    DataGridView绑定泛型List时,利用BindingList来实现增删查改
  • 原文地址:https://www.cnblogs.com/libra13179/p/10188007.html
Copyright © 2011-2022 走看看