diff -r ddb355dd3e21 -r d2a8adde27c4 rt/Makefile --- a/rt/Makefile Wed Mar 15 20:17:02 2006 +0000 +++ b/rt/Makefile Wed Mar 15 20:19:05 2006 +0000 @@ -1,15 +1,16 @@ #------------------------------------------------------------------------------ # -# Makefile Echtzeitmodule +# Makefile Echtzeitmodule # -# $Id$ +# $Id$ # #------------------------------------------------------------------------------ ifneq ($(KERNELRELEASE),) #------------------------------------------------------------------------------ -# Kbuild-Abschnitt +# Kbuild-Abschnitt +#------------------------------------------------------------------------------ obj-m := msr_modul.o @@ -37,12 +38,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: