diff -r f36b5ef99da6 -r 855c5d2d97f0 devices/Kbuild.in --- a/devices/Kbuild.in Fri Apr 18 12:01:38 2008 +0000 +++ b/devices/Kbuild.in Fri Apr 18 12:33:35 2008 +0000 @@ -64,4 +64,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 + #------------------------------------------------------------------------------