devices/Makefile
branchstable-1.0
changeset 1617 9f83a343ae75
parent 192 8d7bd5082ed5
child 197 b9a6e2c22745
--- a/devices/Makefile	Thu Apr 20 13:38:48 2006 +0000
+++ b/devices/Makefile	Thu Apr 20 14:38:41 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)
 
 #------------------------------------------------------------------------------