diff -r 27a1aee7e254 -r 60b2aad9d40b devices/Kbuild --- 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) #------------------------------------------------------------------------------