equal
deleted
inserted
replaced
40 ec_8139too-objs := 8139too.o |
40 ec_8139too-objs := 8139too.o |
41 |
41 |
42 REV := $(shell if test -s $(src)/../svnrevision; then \ |
42 REV := $(shell if test -s $(src)/../svnrevision; then \ |
43 cat $(src)/../svnrevision; \ |
43 cat $(src)/../svnrevision; \ |
44 else \ |
44 else \ |
45 svnversion $(src) 2>/dev/null || echo "unknown"; \ |
45 svnversion $(src)/.. 2>/dev/null || echo "unknown"; \ |
46 fi) |
46 fi) |
47 |
47 |
48 EXTRA_CFLAGS = -DEC_REV=$(REV) -DEC_USER=$(USER) |
48 EXTRA_CFLAGS = -DSVNREV=$(REV) |
49 |
49 |
50 #------------------------------------------------------------------------------ |
50 #------------------------------------------------------------------------------ |