master/Kbuild
changeset 715 f12ff7c08623
parent 679 62fc387ec928
equal deleted inserted replaced
714:898f87414af1 715:f12ff7c08623
    34 include $(src)/../config.kbuild
    34 include $(src)/../config.kbuild
    35 
    35 
    36 obj-m := ec_master.o
    36 obj-m := ec_master.o
    37 
    37 
    38 ec_master-objs := module.o master.o device.o pdo.o sync.o fmmu.o slave.o \
    38 ec_master-objs := module.o master.o device.o pdo.o sync.o fmmu.o slave.o \
    39     datagram.o domain.o mailbox.o canopen.o ethernet.o fsm_sii.o fsm_change.o \
    39     datagram.o domain.o mailbox.o canopen.o fsm_sii.o fsm_change.o \
    40     fsm_coe.o fsm_mapping.o fsm_slave.o fsm_master.o xmldev.o
    40     fsm_coe.o fsm_mapping.o fsm_slave.o fsm_master.o xmldev.o
    41 
    41 
       
    42 ifeq ($(ENABLE_EOE),1)
       
    43 	ec_master-objs += ethernet.o
       
    44 endif
    42 ifeq ($(ENABLE_DEBUG_IF),1)
    45 ifeq ($(ENABLE_DEBUG_IF),1)
    43 	ec_master-objs += debug.o
    46 	ec_master-objs += debug.o
    44 endif
    47 endif
    45 
    48 
    46 REV := $(shell if test -s $(src)/../svnrevision; then \
    49 REV := $(shell if test -s $(src)/../svnrevision; then \