master/Kbuild
changeset 715 f12ff7c08623
parent 679 62fc387ec928
--- a/master/Kbuild	Wed Sep 12 12:30:48 2007 +0000
+++ b/master/Kbuild	Wed Sep 12 13:10:15 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 xmldev.o
 
+ifeq ($(ENABLE_EOE),1)
+	ec_master-objs += ethernet.o
+endif
 ifeq ($(ENABLE_DEBUG_IF),1)
 	ec_master-objs += debug.o
 endif