mirror of
https://github.com/gatieme/LDD-LinuxDeviceDrivers.git
synced 2026-09-21 20:23:38 +08:00
Linux 驱动之模块参数--Linux设备驱动程序--http://blog.csdn.net/gatieme/article/details/51009094
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user