summarylogtreecommitdiffstats
path: root/Makefile.dkms
blob: 701e79114e4a8a67e35db98020d15bb17d773560 (plain)
1
2
3
4
5
6
7
8
9
10
11
obj-m := @_PKGBASE@.o

KVERSION := $(shell uname -r)
KDIR := /lib/modules/$(KVERSION)/build
PWD := "$$(pwd)"

all:
	make -C $(KDIR) M=$(PWD)

clean:
	make O=$(PWD) -C $(KDIR) M=$(PWD) clean