chiark / gitweb /
[PATCH] update extras/multipath
[elogind.git] / extras / multipath / Makefile
index 0aac146a8789781098c429a0f514f9162a27716e..caf24bbd909aeedbd4675d6f2faba16480bfebad 100644 (file)
@@ -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.