commit | author | age | ||
17e726 | 1 | obj-m := hello.o |
G | 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 |