devices/Kbuild.in
changeset 1353 22b1de4c74e4
parent 1326 ef907b0b5125
child 1363 11c0b2caa253
--- a/devices/Kbuild.in	Mon Feb 02 13:37:00 2009 +0000
+++ b/devices/Kbuild.in	Wed Feb 04 17:06:14 2009 +0000
@@ -50,4 +50,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
+
 #------------------------------------------------------------------------------