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