devices/e1000/Kbuild
changeset 685 3e7828ef0cd8
parent 667 9feff35c9617
--- a/devices/e1000/Kbuild	Tue Aug 07 13:33:57 2007 +0000
+++ b/devices/e1000/Kbuild	Wed Aug 08 10:31:54 2007 +0000
@@ -40,14 +40,14 @@
 		svnversion $(TOPDIR) 2>/dev/null || echo "unknown"; \
 	fi)
 
-ifeq ($(EC_ENABLE_E1000),1)
-	EC_E1000_OBJ := e1000_main-$(EC_E1000_KERNEL)-ethercat.o \
-        e1000_hw-$(EC_E1000_KERNEL)-ethercat.o \
-        e1000_ethtool-$(EC_E1000_KERNEL)-ethercat.o \
-        e1000_param-$(EC_E1000_KERNEL)-ethercat.o
+ifeq ($(ENABLE_E1000),1)
+	EC_E1000_OBJ := e1000_main-$(KERNEL_E1000)-ethercat.o \
+        e1000_hw-$(KERNEL_E1000)-ethercat.o \
+        e1000_ethtool-$(KERNEL_E1000)-ethercat.o \
+        e1000_param-$(KERNEL_E1000)-ethercat.o
 	obj-m += ec_e1000.o
 	ec_e1000-objs := $(EC_E1000_OBJ)
-	CFLAGS_e1000_main-$(EC_E1000_KERNEL)-ethercat.o = -DSVNREV=$(REV)
+	CFLAGS_e1000_main-$(KERNEL_E1000)-ethercat.o = -DSVNREV=$(REV)
 endif
 
 #------------------------------------------------------------------------------