aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 8e49ff6ac9f9a758f31fe2bca56926d8a8e03cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
obj-m := cds9k-mfd-spi.o
obj-m += cds9k-gpio.o

SRC := $(shell pwd)

all:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC)

clean:
	rm -f *.o core .depend .*.cmd *.ko *.mod.c
	rm -f Module.markers Module.symvers modules.order
	rm -rf .tmp_versions Modules.symvers

modules_install:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install