Skip to content

Potochi/cmake-kernel-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake kernel module template

My unsatiated need for autocomplete has lead me to this.

Usage

  1. Replace the names, and maybe the kernel header path in CMakeLists.txt
  2. Create a build directory. For example mkdir build
  3. cd into the build directory
  4. Run cmake ..
  5. Run make. This should build the dummy library. From now on autocomplete should be working.
  6. Run make module. This will build your module.
  7. Happy hacking!

References

Shamelessly frankensteining these two resources:

About

CMake kernel module template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published