master/Kbuild
branchstable-1.3
changeset 1745 07fd94c5119d
parent 1744 7bc131b92039
--- a/master/Kbuild	Fri Aug 10 15:27:08 2007 +0000
+++ b/master/Kbuild	Thu Sep 13 11:08:46 2007 +0000
@@ -36,9 +36,12 @@
 obj-m := ec_master.o
 
 ec_master-objs := module.o master.o device.o pdo.o sync.o fmmu.o slave.o \
-    datagram.o domain.o mailbox.o canopen.o ethernet.o fsm_sii.o fsm_change.o \
+    datagram.o domain.o mailbox.o canopen.o fsm_sii.o fsm_change.o \
     fsm_coe.o fsm_mapping.o fsm_slave.o fsm_master.o
 
+ifeq ($(ENABLE_EOE),1)
+	ec_master-objs += ethernet.o
+endif
 ifeq ($(ENABLE_DEBUG_IF),1)
 	ec_master-objs += debug.o
 endif