summaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-04-06 22:17:39 +0200
committerSuren A. Chilingaryan <csa@suren.me>2016-04-06 22:17:39 +0200
commit5e52f10edf41ecf464037ac381413042f09fe27f (patch)
treee25b520f403587c413f1d832aba3a5df066727e6 /driver
parent62496c3c676d0b8d34452f60d5a666eb40d9ae6a (diff)
downloadpcitool-5e52f10edf41ecf464037ac381413042f09fe27f.tar.gz
pcitool-5e52f10edf41ecf464037ac381413042f09fe27f.tar.bz2
pcitool-5e52f10edf41ecf464037ac381413042f09fe27f.tar.xz
pcitool-5e52f10edf41ecf464037ac381413042f09fe27f.zip
Fix building of driver if pcilib is built out-of-source
Diffstat (limited to 'driver')
-rw-r--r--driver/Makefile.in (renamed from driver/Makefile)3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/Makefile b/driver/Makefile.in
index f932693..eea5a7b 100644
--- a/driver/Makefile
+++ b/driver/Makefile.in
@@ -10,7 +10,8 @@ MAININSTALLDIR ?= /lib/modules/$(KERNELVER)/kernel/extra
HEADERDIR ?= /lib/modules/$(KERNELVER)/source/include
PWD := $(shell pwd)
-EXTRA_CFLAGS += -I$(M)/..
+#EXTRA_CFLAGS += -I$(M)/..
+EXTRA_CFLAGS += -I${CMAKE_BINARY_DIR}/driver
ifdef DUMMY_DEVICE
ifneq ($(DUMMY_DEVICE), 0)