mini/Makefile
changeset 103 d2a8adde27c4
parent 54 7506e67dd122
child 147 a355b587b4bc
--- 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: