devices/Makefile
changeset 196 f8a1e9f364a3
parent 192 8d7bd5082ed5
child 197 b9a6e2c22745
--- a/devices/Makefile	Thu Apr 20 13:31:31 2006 +0000
+++ b/devices/Makefile	Thu Apr 20 14:34:58 2006 +0000
@@ -17,7 +17,9 @@
 
 ec_8139too-objs := 8139too.o
 
-EXTRA_CFLAGS = -DEC_REV="$(shell svnversion $(src))" -DEC_USER="$(USER)"
+REV := $(shell svnversion $(src) 2>/dev/null)
+
+EXTRA_CFLAGS = -DEC_REV=$(REV) -DEC_USER=$(USER)
 
 #------------------------------------------------------------------------------