Building Modules Without Full Kernel Sources

14
Anonymous Reader writes “To be frank you do not need a new full source tree in order to just compile or build module against the running kernel i.e an exploded source tree is not required to build kernel driver or module. Many new admin install entire kernel tree to compile a driver. This is essential because if you just want to compile and install driver for new hardware such as Wireless card or SCSI device etc. With this method, you will save the time, as you are not going to compile entire Linux kernel. Please note that to work with this hack you just need the Linux kernel headers and not the full kernel source tree.”

Link: cyberciti.biz

Category:

  • Linux