diff -r 373cd456dc26 -r cfcaf46c5b3f devices/Makefile.am --- a/devices/Makefile.am Mon Oct 19 13:12:40 2009 +0200 +++ b/devices/Makefile.am Mon Oct 19 13:13:55 2009 +0200 @@ -68,6 +68,7 @@ e100-2.6.29-ethercat.c \ e100-2.6.29-orig.c \ ecdev.h \ + generic.c \ r8169-2.6.24-ethercat.c \ r8169-2.6.24-orig.c \ r8169-2.6.28-ethercat.c \ @@ -86,6 +87,9 @@ modules_install: mkdir -p $(DESTDIR)$(LINUX_MOD_PATH) +if ENABLE_GENERIC + cp $(srcdir)/ec_generic.ko $(DESTDIR)$(LINUX_MOD_PATH) +endif if ENABLE_8139TOO cp $(srcdir)/ec_8139too.ko $(DESTDIR)$(LINUX_MOD_PATH) endif