--- a/examples/rtai/Makefile Wed May 10 07:44:37 2006 +0000
+++ b/examples/rtai/Makefile Wed May 10 07:53:50 2006 +0000
@@ -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 @@
clean:
$(MAKE) -C $(KERNELDIR) M=`pwd` clean
-#----------------------------------------------------------------
+#------------------------------------------------------------------------------
endif