Fixed devices Makefile.
authorFlorian Pose <fp@igh-essen.com>
Wed, 12 Apr 2006 12:04:27 +0000
changeset 192 8d7bd5082ed5
parent 191 ca805255a935
child 193 1053a25af575
Fixed devices Makefile.
devices/8139too.c
devices/Makefile
--- a/devices/8139too.c	Wed Apr 12 10:40:32 2006 +0000
+++ b/devices/8139too.c	Wed Apr 12 12:04:27 2006 +0000
@@ -136,12 +136,12 @@
 
 #include "ecdev.h"
 
-#define EC_LIT(X) #X
-#define EC_STR(X) EC_LIT(X)
-
-#define COMPILE_INFO "Revision " EC_STR(EC_REV) \
-                     ", compiled by " EC_STR(EC_USER) \
-                     " at " EC_STR(EC_DATE)
+#define LIT(X) #X
+#define STR(X) LIT(X)
+
+#define COMPILE_INFO "Revision " STR(EC_REV) \
+                     ", compiled by " STR(EC_USER) \
+                     " at " __DATE__ " " __TIME__
 
 /* EtherCAT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
 
--- a/devices/Makefile	Wed Apr 12 10:40:32 2006 +0000
+++ b/devices/Makefile	Wed Apr 12 12:04:27 2006 +0000
@@ -17,9 +17,7 @@
 
 ec_8139too-objs := 8139too.o
 
-REV := $(shell svnversion $(src))
-DATE := $(shell date)
-EXTRA_CFLAGS = -DEC_REV="$(REV)" -DEC_USER="$(USER)" -DEC_DATE="$(DATE)"
+EXTRA_CFLAGS = -DEC_REV="$(shell svnversion $(src))" -DEC_USER="$(USER)"
 
 #------------------------------------------------------------------------------