devices/Kbuild
changeset 581 99623f8a8493
parent 580 ba7e9b82ab3a
child 582 39f1704b0c99
--- a/devices/Kbuild	Wed Feb 21 09:30:24 2007 +0000
+++ b/devices/Kbuild	Wed Feb 21 10:26:19 2007 +0000
@@ -35,14 +35,19 @@
 
 EC_8139TOO_OBJ = 8139too-$(EC_8139TOO_KERNEL)-ethercat.o
 EC_E100_OBJ = e100-$(EC_E100_KERNEL)-ethercat.o
+EC_FORCEDETH_OBJ = forcedeth-$(EC_FORCEDETH_KERNEL)-ethercat.o
 
 obj-m := ec_8139too.o
 ifeq ($(ENABLE_E100),1)
 	obj-m += ec_e100.o
 endif
+ifeq ($(ENABLE_FORCEDETH),1)
+	obj-m += ec_forcedeth.o
+endif
 
 ec_8139too-objs := $(EC_8139TOO_OBJ)
 ec_e100-objs := $(EC_E100_OBJ)
+ec_forcedeth-objs := $(EC_FORCEDETH_OBJ)
 
 REV := $(shell if test -s $(src)/../svnrevision; then \
 		cat $(src)/../svnrevision; \
@@ -52,5 +57,6 @@
 
 CFLAGS_$(EC_8139TOO_OBJ) = -DSVNREV=$(REV)
 CFLAGS_$(EC_E100_OBJ) = -DSVNREV=$(REV)
+CFLAGS_$(EC_FORCEDETH_OBJ) = -DSVNREV=$(REV)
 
 #------------------------------------------------------------------------------