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