“Note that, unlike installing the official kernel development
package we mentioned last time, you don’t need root privilege to
simply dump a kernel source tree somewhere under your home
directory. And you can make that last git clone argument any name
you want for the destination directory.“(If you can’t use git for some reason, a reasonably recent
tarball will work just as well. It’s just cooler to use git.)“Now go get a tree. I’ll wait.
“NOTE: We’ll still be building our modules against the installed
kernel development package. Your personal source tree is strictly
for educational purposes, at least for now.”
The Kernel Newbie Corner: Your First Loadable Kernel Module, Part Deux
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis