master/Kbuild
branchstable-1.1
changeset 1732 1cc865ba17c2
parent 1731 60b2aad9d40b
child 1736 3effd90e8176
--- a/master/Kbuild	Fri Oct 13 10:07:10 2006 +0000
+++ b/master/Kbuild	Tue Nov 07 12:13:30 2006 +0000
@@ -1,9 +1,5 @@
 #------------------------------------------------------------------------------
 #
-#  Kbuild
-#
-#  IgH EtherCAT master module
-#
 #  $Id$
 #
 #  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
@@ -35,10 +31,13 @@
 #
 #------------------------------------------------------------------------------
 
+include $(src)/../config.kbuild
+
 obj-m := ec_master.o
 
 ec_master-objs := module.o master.o device.o slave.o datagram.o \
-		domain.o mailbox.o ethernet.o fsm.o
+		domain.o mailbox.o canopen.o ethernet.o \
+                fsm_sii.o fsm_change.o fsm_coe.o fsm.o
 # xmldev.o
 
 ifeq ($(EC_DBG_IF),1)
@@ -51,6 +50,6 @@
 		svnversion $(src) 2>/dev/null || echo "unknown"; \
 	fi)
 
-EXTRA_CFLAGS := -DSVNREV=$(REV)
+CFLAGS_module.o := -DSVNREV=$(REV)
 
 #------------------------------------------------------------------------------