i2c-piix4-aura-dkms/src/Makefile

19 lines
279 B
Makefile
Raw Permalink Normal View History

2020-07-09 12:18:16 +00:00
obj-m := i2c-piix4.o i2c-nct6775.o
2020-01-19 20:56:03 +00:00
ifndef KERNELRELEASE
KRELEASE := $(shell uname -r)
else
KRELEASE := $(KERNELRELEASE)
endif
KDIR := /lib/modules/$(KRELEASE)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean