强制卸载内核模块...

This commit is contained in:
gatieme
2017-05-05 14:42:17 +08:00
parent 5c46b067e0
commit 3e0edb0a7f
25 changed files with 139 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
obj-m := param.o
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:
make -C $(KERNELDIR) M=$(PWD) modules
clean:
make -C $(KERNELDIR) M=$(PWD) clean