--- a/drivers/Makefile Fri Dec 23 08:20:10 2005 +0000
+++ b/drivers/Makefile Fri Dec 23 08:23:35 2005 +0000
@@ -1,4 +1,4 @@
-#----------------------------------------------------------------
+#------------------------------------------------------------------------------
#
# Makefile
#
@@ -6,40 +6,40 @@
#
# $Id$
#
-#----------------------------------------------------------------
+#------------------------------------------------------------------------------
ifneq ($(KERNELRELEASE),)
-#----------------------------------------------------------------
+#------------------------------------------------------------------------------
# Kbuild-Abschnitt
obj-m := 8139too-ecat.o ecat-master.o
8139too-ecat-objs := 8139too.o
-ecat-master-objs := ec_module.o ec_master.o ec_device.o \
- ec_slave.o ec_command.o ec_types.o
+ecat-master-objs := ec_module.o ec_master.o ec_device.o ec_slave.o \
+ ec_command.o ec_types.o
REV = `svnversion $(src)`
DATE = `date`
EXTRA_CFLAGS = -DEC_REV="$(REV)" -DEC_USER="$(USER)" -DEC_DATE="$(DATE)"
-#----------------------------------------------------------------
+#------------------------------------------------------------------------------
else
-#----------------------------------------------------------------
+#------------------------------------------------------------------------------
# Default-Abschnitt
include ../ethercat.conf
-default:
+modules:
$(MAKE) -C $(KERNELDIR) M=`pwd` modules
clean:
$(MAKE) -C $(KERNELDIR) M=`pwd` clean
-#----------------------------------------------------------------
+#------------------------------------------------------------------------------
endif