Fixed installation of 8139too driver when disabled.
authorFlorian Pose <fp@igh-essen.com>
Wed, 21 Feb 2007 13:36:08 +0000
changeset 587 59913f648e04
parent 586 99df3f4d8d76
child 588 ba69f7f34fbf
Fixed installation of 8139too driver when disabled.
devices/Makefile.am
--- a/devices/Makefile.am	Wed Feb 21 12:42:20 2007 +0000
+++ b/devices/Makefile.am	Wed Feb 21 13:36:08 2007 +0000
@@ -54,7 +54,9 @@
 
 modules_install:
 	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
+if ENABLE_8139TOO
 	cp $(srcdir)/ec_8139too.ko $(DESTDIR)$(LINUX_MOD_PATH)
+endif
 if ENABLE_E100
 	cp $(srcdir)/ec_e100.ko $(DESTDIR)$(LINUX_MOD_PATH)
 endif