summaryrefslogtreecommitdiffstats
path: root/driver/Makefile
diff options
context:
space:
mode:
authorroot <root@iss-tomyspiel-l>2011-07-04 16:21:23 +0200
committerroot <root@iss-tomyspiel-l>2011-07-04 16:21:23 +0200
commit2e7a7a3534bcf591c0d6c65105b2d845f293112f (patch)
treed0e5d2f9ea246ff55134205f7ac3af0d9599e641 /driver/Makefile
parent70937611e34577151a6607640050e8b164a54e70 (diff)
downloadpcitool-2e7a7a3534bcf591c0d6c65105b2d845f293112f.tar.gz
pcitool-2e7a7a3534bcf591c0d6c65105b2d845f293112f.tar.bz2
pcitool-2e7a7a3534bcf591c0d6c65105b2d845f293112f.tar.xz
pcitool-2e7a7a3534bcf591c0d6c65105b2d845f293112f.zip
North West Logick DMA implementation
Diffstat (limited to 'driver/Makefile')
-rw-r--r--driver/Makefile4
1 files changed, 3 insertions, 1 deletions
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)