diff -r 7aede8ed6025 -r 148ac5ef18ae devices/Kbuild --- a/devices/Kbuild Mon Sep 25 11:12:50 2006 +0000 +++ b/devices/Kbuild Mon Sep 25 12:11:05 2006 +0000 @@ -39,7 +39,11 @@ ec_8139too-objs := 8139too.o -REV := $(shell svnversion $(src) 2>/dev/null || echo "unknown") +REV := $(shell if test -s $(src)/../svnrevision; then \ + cat $(src)/../svnrevision; \ + else \ + svnversion $(src) 2>/dev/null || echo "unknown"; \ + fi) EXTRA_CFLAGS = -DEC_REV=$(REV) -DEC_USER=$(USER)