# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1172058438 0
# Node ID 150c8a1caf259a198c49cdefebf4b87905580da3
# Parent  172d421469307314e0ca8a0836f06cf83d885b6e
Fixed REV variable in devices Kbuild file.

diff -r 172d42146930 -r 150c8a1caf25 devices/Kbuild
--- a/devices/Kbuild	Wed Feb 21 11:40:40 2007 +0000
+++ b/devices/Kbuild	Wed Feb 21 11:47:18 2007 +0000
@@ -40,20 +40,23 @@
 	fi)
 
 ifeq ($(EC_ENABLE_8139TOO),1)
+	EC_8139TOO_OBJ := 8139too-$(EC_8139TOO_KERNEL)-ethercat.o
 	obj-m += ec_8139too.o
-	ec_8139too-objs := 8139too-$(EC_8139TOO_KERNEL)-ethercat.o
+	ec_8139too-objs := $(EC_8139TOO_OBJ)
 	CFLAGS_$(EC_8139TOO_OBJ) = -DSVNREV=$(REV)
 endif
 
 ifeq ($(EC_ENABLE_E100),1)
+	EC_E100_OBJ := e100-$(EC_E100_KERNEL)-ethercat.o
 	obj-m += ec_e100.o
-	ec_e100-objs := e100-$(EC_E100_KERNEL)-ethercat.o
+	ec_e100-objs := $(EC_E100_OBJ)
 	CFLAGS_$(EC_E100_OBJ) = -DSVNREV=$(REV)
 endif
 
 ifeq ($(EC_ENABLE_FORCEDETH),1)
+	EC_FORCEDETH_OBJ := forcedeth-$(EC_FORCEDETH_KERNEL)-ethercat.o
 	obj-m += ec_forcedeth.o
-	ec_forcedeth-objs := forcedeth-$(EC_FORCEDETH_KERNEL)-ethercat.o
+	ec_forcedeth-objs := $(EC_FORCEDETH_OBJ)-ethercat.o
 	CFLAGS_$(EC_FORCEDETH_OBJ) = -DSVNREV=$(REV)
 endif