Linux 驱动之模块参数--Linux设备驱动程序--http://blog.csdn.net/gatieme/article/details/51009094

This commit is contained in:
gatieme
2016-04-02 20:00:58 +08:00
parent 768bd2a1c4
commit eaa3f5710f
9 changed files with 1330 additions and 0 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