equal
deleted
inserted
replaced
36 #------------------------------------------------------------------------------ |
36 #------------------------------------------------------------------------------ |
37 |
37 |
38 obj-m := ec_master.o |
38 obj-m := ec_master.o |
39 |
39 |
40 ec_master-objs := module.o master.o device.o slave.o datagram.o \ |
40 ec_master-objs := module.o master.o device.o slave.o datagram.o \ |
41 domain.o mailbox.o ethernet.o debug.o fsm.o xmldev.o |
41 domain.o mailbox.o ethernet.o fsm.o xmldev.o |
|
42 |
|
43 ifeq ($(EC_DBG_IF),1) |
|
44 ec_master-objs += debug.o |
|
45 endif |
42 |
46 |
43 REV := $(shell if test -s $(src)/../svnrevision; then \ |
47 REV := $(shell if test -s $(src)/../svnrevision; then \ |
44 cat $(src)/../svnrevision; \ |
48 cat $(src)/../svnrevision; \ |
45 else \ |
49 else \ |
46 svnversion $(src) 2>/dev/null || echo "unknown"; \ |
50 svnversion $(src) 2>/dev/null || echo "unknown"; \ |