devices/Kbuild
changeset 382 72500991bcc3
parent 366 148ac5ef18ae
child 444 31223539fc00
--- a/devices/Kbuild	Thu Sep 28 12:58:06 2006 +0000
+++ b/devices/Kbuild	Thu Sep 28 13:22:43 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)
 
 #------------------------------------------------------------------------------