Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | obj-m := hello.o |
2 | |||||
3 | SRC := $(shell pwd) | ||||
4 | |||||
5 | all: | ||||
6 | $(MAKE) -C $(KERNEL_SRC) M=$(SRC) | ||||
7 | |||||
8 | modules_install: | ||||
9 | $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install | ||||
10 | |||||
11 | clean: | ||||
12 | rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c | ||||
13 | rm -f Module.markers Module.symvers modules.order | ||||
14 | rm -rf .tmp_versions Modules.symvers |