New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel Module Example #28
Comments
Thanks for the suggestion. Unfortunately I don't know much about building kernel modules. The only experience I have is building toy examples to test things and using a makefile similar to what you posted. I'm happy to accept a PR with an example for a kernel module but wouldn't feel comfortable to write one at the moment. |
You can find a straightforward tutorial here: https://musteresel.github.io/posts/2020/02/cmake-template-linux-kernel-module.html |
Is it possible to create a loadable kernel module example?
I know what the result of the Makefile should be
`obj-m += main.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean`
The text was updated successfully, but these errors were encountered: