Gnurou / kdev-kernel

KDevelop plugin for hacking the Linux kernel
33 stars 18 forks source link

KDevelop Linux Kernel Development Plugin

This plugin offers a "Linux Kernel" project type to KDevelop that makes it easy and comfortable to work on the Linux kernel.

The raw KDevelop comes with extremely useful cross-reference and code parsing tools, but they do not apply well to the Linux kernel. Problems are:

Features

Installing

This plugin requires KDevelop 4.7.

Just typing cmake . && make && sudo make install should be enough to have the project installed. Then in KDevelop, do "Project -> Open/Import Project..." and select the root Makefile of your Linux kernel. When prompted for the type of the project, choose "Linux Kernel".

Then open the project's configuration and in the "Linux Kernel" pane select your kernel configuration file. You will then need to restart KDevelop so the right kernel files are parsed with the right defines.

Limitations

Contribute & Feedback

This plugin is written by Alexandre Courbot and is released under the GPLv3. You can report issues, suggest features or contribute fixes on its Github page:

https://github.com/Gnurou/kdev-kernel

Happy Comfortable Hacking! :)