From 90eba749dca9f81a26c5bb3bf56baabb88b42863 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Wed, 10 May 2006 07:53:50 +0000 Subject: [PATCH] Changed RTAI sample naming. --- examples/rtai/Makefile | 26 +++++++++---------- .../{ethercat.conf.tmpl => kernel.conf.tmpl} | 4 +-- examples/rtai/{mini.c => rtai_sample.c} | 0 3 files changed, 15 insertions(+), 15 deletions(-) rename examples/rtai/{ethercat.conf.tmpl => kernel.conf.tmpl} (84%) rename examples/rtai/{mini.c => rtai_sample.c} (100%) diff --git a/examples/rtai/Makefile b/examples/rtai/Makefile index 61e42313..8dc257c4 100644 --- a/examples/rtai/Makefile +++ b/examples/rtai/Makefile @@ -1,8 +1,8 @@ -#---------------------------------------------------------------- +#------------------------------------------------------------------------------ # # Makefile # -# Minimal EtherCAT module. +# RTAI sample module for the IgH EtherCAT master. # # $Id$ # @@ -23,28 +23,28 @@ # along with the IgH EtherCAT Master; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -#---------------------------------------------------------------- +#------------------------------------------------------------------------------ ifneq ($(KERNELRELEASE),) -#---------------------------------------------------------------- +#------------------------------------------------------------------------------ # kbuild section -#---------------------------------------------------------------- +#------------------------------------------------------------------------------ -obj-m := ec_mini.o +obj-m := ec_rtai_sample.o -ec_mini-objs := mini.o +ec_rtai_sample-objs := rtai_sample.o -#---------------------------------------------------------------- +#------------------------------------------------------------------------------ else -#---------------------------------------------------------------- +#------------------------------------------------------------------------------ # default section -#---------------------------------------------------------------- +#------------------------------------------------------------------------------ -ifneq ($(wildcard ethercat.conf),) -include ethercat.conf +ifneq ($(wildcard kernel.conf),) +include kernel.conf else KERNELDIR = /usr/src/linux endif @@ -55,6 +55,6 @@ modules: clean: $(MAKE) -C $(KERNELDIR) M=`pwd` clean -#---------------------------------------------------------------- +#------------------------------------------------------------------------------ endif diff --git a/examples/rtai/ethercat.conf.tmpl b/examples/rtai/kernel.conf.tmpl similarity index 84% rename from examples/rtai/ethercat.conf.tmpl rename to examples/rtai/kernel.conf.tmpl index a95d6ed5..88a5cb9e 100644 --- a/examples/rtai/ethercat.conf.tmpl +++ b/examples/rtai/kernel.conf.tmpl @@ -1,10 +1,10 @@ #------------------------------------------------------------------------------ # -# EtherCAT Konfigurationsdatei Kernel 2.6 +# Kernel configuration file for RTAI sample. # # $Id$ # -# This file is a versioned template configuration. Copy it to "ethercat.conf" +# This file is a versioned template configuration. Copy it to "kernel.conf" # (which is ignored by Subversion) and adjust it to your needs. # #------------------------------------------------------------------------------ diff --git a/examples/rtai/mini.c b/examples/rtai/rtai_sample.c similarity index 100% rename from examples/rtai/mini.c rename to examples/rtai/rtai_sample.c