From 2e7a7a3534bcf591c0d6c65105b2d845f293112f Mon Sep 17 00:00:00 2001 From: root Date: Mon, 4 Jul 2011 16:21:23 +0200 Subject: North West Logick DMA implementation --- driver/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'driver/Makefile') diff --git a/driver/Makefile b/driver/Makefile index 9f8918a..9eedc1e 100644 --- a/driver/Makefile +++ b/driver/Makefile @@ -6,8 +6,10 @@ KERNELDIR ?= /lib/modules/$(shell uname -r)/build INSTALLDIR ?= /lib/modules/$(shell uname -r)/extra PWD := $(shell pwd) +EXTRA_CFLAGS += -I$(M)/.. + default: - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules + $(MAKE) $(CFLAGS) -C $(KERNELDIR) M=$(PWD) modules install: @mkdir -p $(INSTALLDIR) -- cgit v1.2.3