finished the kernel module and documentation

This commit is contained in:
2022-10-17 12:08:35 +09:00
parent 9a161636da
commit 14ec32b1bd
3 changed files with 49 additions and 0 deletions

9
Makefile Normal file
View File

@@ -0,0 +1,9 @@
obj-m += hello.o
PWD := $(CURDIR)
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean