branch | stable-1.1 |
changeset 1731 | 60b2aad9d40b |
parent 1724 | 07c82e520ddd |
child 1732 | 1cc865ba17c2 |
--- a/devices/Kbuild Thu Sep 28 08:31:33 2006 +0000 +++ b/devices/Kbuild Fri Oct 13 10:07:10 2006 +0000 @@ -42,9 +42,9 @@ REV := $(shell if test -s $(src)/../svnrevision; then \ cat $(src)/../svnrevision; \ else \ - svnversion $(src) 2>/dev/null || echo "unknown"; \ + svnversion $(src)/.. 2>/dev/null || echo "unknown"; \ fi) -EXTRA_CFLAGS = -DEC_REV=$(REV) -DEC_USER=$(USER) +EXTRA_CFLAGS = -DSVNREV=$(REV) #------------------------------------------------------------------------------