# HG changeset patch # User Florian Pose # Date 1142453945 0 # Node ID d2a8adde27c4aa70abd6c32fac04324047de6e3a # Parent ddb355dd3e21b0a034e94f5ee637d720520437e2 Konfigurations-Template. diff -r ddb355dd3e21 -r d2a8adde27c4 Makefile --- a/Makefile Wed Mar 15 20:17:02 2006 +0000 +++ b/Makefile Wed Mar 15 20:19:05 2006 +0000 @@ -34,13 +34,6 @@ clean: $(MAKE) -C $(KERNELDIR) M=`pwd` clean -config conf $(CONFIG_FILE): - @echo "# EtherCAT Konfigurationsdatei Kernel 2.6" > $(CONFIG_FILE) - @echo >> $(CONFIG_FILE) - @echo "KERNELDIR = /usr/src/linux" >> $(CONFIG_FILE) - @echo >> $(CONFIG_FILE) - @echo "$(CONFIG_FILE) erstellt." - #------------------------------------------------------------------------------ endif diff -r ddb355dd3e21 -r d2a8adde27c4 ethercat.conf.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ethercat.conf.tmpl Wed Mar 15 20:19:05 2006 +0000 @@ -0,0 +1,13 @@ +#------------------------------------------------------------------------------ +# +# EtherCAT Konfigurationsdatei Kernel 2.6 +# +# $Id$ +# +# This file is a versioned template configuration. Copy it to "ethercat.conf" +# (which is ignored by Subversion) and adjust it to your needs. +# +#------------------------------------------------------------------------------ + +KERNELDIR = /usr/src/linux + diff -r ddb355dd3e21 -r d2a8adde27c4 mini/Makefile --- 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: diff -r ddb355dd3e21 -r d2a8adde27c4 mini/ethercat.conf.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mini/ethercat.conf.tmpl Wed Mar 15 20:19:05 2006 +0000 @@ -0,0 +1,13 @@ +#------------------------------------------------------------------------------ +# +# EtherCAT Konfigurationsdatei Kernel 2.6 +# +# $Id$ +# +# This file is a versioned template configuration. Copy it to "ethercat.conf" +# (which is ignored by Subversion) and adjust it to your needs. +# +#------------------------------------------------------------------------------ + +KERNELDIR = /usr/src/linux + 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: diff -r ddb355dd3e21 -r d2a8adde27c4 rt/ethercat.conf.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rt/ethercat.conf.tmpl Wed Mar 15 20:19:05 2006 +0000 @@ -0,0 +1,13 @@ +#------------------------------------------------------------------------------ +# +# EtherCAT Konfigurationsdatei Kernel 2.6 +# +# $Id$ +# +# This file is a versioned template configuration. Copy it to "ethercat.conf" +# (which is ignored by Subversion) and adjust it to your needs. +# +#------------------------------------------------------------------------------ + +KERNELDIR = /usr/src/linux +