blob: 4ded35fbc3b42902f734a8d31f071a1550ccf4e6 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001obj-m := hello.o
2
3SRC := $(shell pwd)
4
5all:
6 $(MAKE) -C $(KERNEL_SRC) M=$(SRC)
7
8modules_install:
9 $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install
10
11clean:
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