summarylogtreecommitdiffstats
path: root/Makefile
blob: dcb63618f060d0f6f0ce4d4c2c30ebb408fdddd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
obj-m := pl2501.o

ifndef KERNELRELEASE
KRELEASE := $(shell uname -r)
else
KRELEASE := $(KERNELRELEASE)
endif

KDIR := /usr/lib/modules/$(KRELEASE)/build
PWD := $(shell pwd)

default:
	$(MAKE) -C $(KDIR) M=$(PWD) modules

clean:
	$(MAKE) -C $(KDIR) M=$(PWD) clean