summaryrefslogtreecommitdiff
path: root/extras/multipath/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/multipath/Makefile')
-rw-r--r--extras/multipath/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/multipath/Makefile b/extras/multipath/Makefile
index 0aac146a87..caf24bbd90 100644
--- a/extras/multipath/Makefile
+++ b/extras/multipath/Makefile
@@ -13,6 +13,7 @@ sysfsdir = $(udevdir)/libsysfs
CC = gcc
GCCINCDIR := ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}
+KERNEL_DIR = /lib/modules/${shell uname -r}/build
CFLAGS = -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -nostdinc \
-I$(klibcdir)/klibc/include -I$(klibcdir)/klibc/include/bits32 \
-I$(GCCINCDIR) -I$(KERNEL_DIR)/include -I$(sysfsdir) -I.