--- a/mini/Makefile Wed Mar 15 20:17:02 2006 +0000
+++ b/mini/Makefile Wed Mar 15 20:19:05 2006 +0000
@@ -11,7 +11,8 @@
ifneq ($(KERNELRELEASE),)
#----------------------------------------------------------------
-# Kbuild-Abschnitt
+# Kbuild-Abschnitt
+#----------------------------------------------------------------
obj-m := ec_mini.o
@@ -22,12 +23,13 @@
else
#----------------------------------------------------------------
-# Default-Abschnitt
+# Default-Abschnitt
+#----------------------------------------------------------------
ifneq ($(wildcard ethercat.conf),)
include ethercat.conf
else
-KERNELDIR = /lib/modules/`uname -r`/build
+KERNELDIR = /usr/src/linux
endif
modules: