This commit is contained in:
gatieme
2016-05-19 15:00:26 +08:00
parent e110daa18e
commit d2dfae4504
14 changed files with 39 additions and 39 deletions
@@ -0,0 +1,18 @@
ifneq ($(KERNELRELEASE),)
obj-m := my_current.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:
make -C $(KERNELDIR) M=$(PWD) modules
clean:
make -C $(KERNELDIR) M=$(PWD) clean
endif