[ Thanks to An Anonymous Reader for
this link. ]
“Recently I received a question via email:
“How do I build Linux kernel module against installed or
running Linux kernel? Do I need to install new kernel source tree
from kernel.org?“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. The instruction outlined below will benefit immensely to a
developers/power users…”