1
0
mirror of https://github.com/krislamo/kernmod.git synced 2025-09-09 07:49:29 +00:00

A hello world Linux kernel module

This commit is contained in:
2021-11-10 01:14:16 -05:00
commit 00e921ec10
6 changed files with 66 additions and 0 deletions

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
obj-m += helloworld.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