summarylogtreecommitdiffstats
path: root/Makefile
blob: 4c16ce156860c71d67a72e7aed016454e1c6f254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
NAME=nvidia-bl
MODULE_NAME=nvidia_bl
VERSION=0.17.3

obj-m    := $(MODULE_NAME).o
KVER	:= $(shell uname -r)

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

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