--- a/drivers/Makefile Fri Dec 02 12:59:21 2005 +0000
+++ b/drivers/Makefile Fri Dec 02 15:35:21 2005 +0000
@@ -13,10 +13,12 @@
#----------------------------------------------------------------
# Kbuild-Abschnitt
-obj-m := 8139too-ecat.o
+obj-m := 8139too-ecat.o ecat-master.o
-8139too-ecat-objs := 8139too.o ec_device.o ec_master.o \
- ec_slave.o ec_command.o ec_types.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
#----------------------------------------------------------------
@@ -28,7 +30,7 @@
CONFIG_FILE = ../ethercat.conf
PWD = $(shell pwd)
-include $(CONFIG_FILE) # Für KERNELDIR
+include $(CONFIG_FILE)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules