aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Makefile.in')
-rw-r--r--kernel/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/Makefile.in b/kernel/Makefile.in
index f1bf8a1..4015069 100644
--- a/kernel/Makefile.in
+++ b/kernel/Makefile.in
@@ -5,7 +5,6 @@ INSTALL = @INSTALL@
mkinstalldirs = $(SHELL) ../mkinstalldirs
majver = @majver@
-EXTRA_CFLAGS := -I$(PWD)/../include
DISTFILES = Makefile.in dev.c dir.c file.c inode.c util.c fuse_i.h
fusemoduledir = @kmoduledir@/kernel/fs/fuse
@@ -44,7 +43,7 @@ ifeq ($(majver), 2.4)
CC = @CC@
LD = @LD@
CFLAGS = -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -pipe
-CPPFLAGS = -I@kernelsrc@/include -I../include -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES
+CPPFLAGS = -I@kernelsrc@/include -I../include -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DFUSE_VERSION=\"@VERSION@\"
fuse_objs = dev.o dir.o file.o inode.o util.o
@@ -68,6 +67,8 @@ util.o: $(fuse_headers)
else
+EXTRA_CFLAGS := -I$(PWD)/../include -DFUSE_VERSION=\"@VERSION@\"
+
obj-m := fuse.o
fuse-objs := dev.o dir.o file.o inode.o util.o