equal
deleted
inserted
replaced
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 debug.o fsm.o xmldev.o |
42 |
42 |
43 REV := $(shell svnversion $(src) 2>/dev/null || echo "unknown") |
43 REV := $(shell if test -s $(src)/../svnrevision; then \ |
|
44 cat $(src)/../svnrevision; \ |
|
45 else \ |
|
46 svnversion $(src) 2>/dev/null || echo "unknown"; \ |
|
47 fi) |
44 |
48 |
45 EXTRA_CFLAGS := -DSVNREV=$(REV) -DUSER=$(USER) |
49 EXTRA_CFLAGS := -DSVNREV=$(REV) -DUSER=$(USER) |
46 |
50 |
47 #------------------------------------------------------------------------------ |
51 #------------------------------------------------------------------------------ |