Prevent -I/usr/include during Linux kernel module compilation.
authorshort <>
Mon, 6 Oct 2003 09:58:29 +0000 (09:58 +0000)
committershort <>
Mon, 6 Oct 2003 09:58:29 +0000 (09:58 +0000)
include/Makefile.am
kernel/Linux/2.4/lufs.h
kernel/Linux/2.5/lufs.h

index d9ab606..6158d62 100644 (file)
@@ -1 +1,8 @@
-nobase_include_HEADERS = lufs/proto.h lufs/fs.h
\ No newline at end of file
+nobase_include_HEADERS = lufs/proto.h lufs/fs.h
+
+basedir=$(datadir)/lufs
+src24dir=$(basedir)/2.4
+src25dir=$(basedir)/2.5
+
+src24_HEADERS = lufs/proto.h
+src25_HEADERS = lufs/proto.h
index ca8e01e..237b45c 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/un.h>
 #include <linux/spinlock.h>
 
-#include "lufs/proto.h"
+#include "proto.h"
 
 #undef TRACE
 #undef WARN
index 1275099..72bacf8 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/un.h>
 #include <linux/spinlock.h>
 
-#include "../../../include/lufs/proto.h"
+#include "proto.h"
 
 #undef TRACE
 #undef WARN