summarylogtreecommitdiffstats
path: root/Makefile
blob: be28f4bf0db7e41bfb8b87beb1085a158641d957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
obj-m := i2c-piix4.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