devices/Kbuild.in
branchstable-1.4
changeset 1701 ec5542b4f62a
parent 1685 399ef727bf62
--- a/devices/Kbuild.in	Fri Jun 19 11:48:42 2009 +0000
+++ b/devices/Kbuild.in	Fri Jun 19 11:54:46 2009 +0000
@@ -43,4 +43,11 @@
 	obj-m += e1000/
 endif
 
+ifeq (@ENABLE_R8169@,1)
+	EC_R8169_OBJ := r8169-@KERNEL_R8169@-ethercat.o
+	obj-m += ec_r8169.o
+	ec_r8169-objs := $(EC_R8169_OBJ)
+	CFLAGS_$(EC_R8169_OBJ) = -DSVNREV=$(REV)
+endif
+
 #------------------------------------------------------------------------------