diff -r 86648ba63030 -r ec5542b4f62a devices/Kbuild.in --- 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 + #------------------------------------------------------------------------------