Fixed e100 installation with disabled ENABLE_E100.
authorFlorian Pose <fp@igh-essen.com>
Fri, 16 Feb 2007 09:52:39 +0000
changeset 570 474f9d643372
parent 569 87dd7f374593
child 571 deb7fcb92dd7
Fixed e100 installation with disabled ENABLE_E100.
configure.ac
devices/Makefile.am
--- a/configure.ac	Thu Feb 15 16:59:28 2007 +0000
+++ b/configure.ac	Fri Feb 16 09:52:39 2007 +0000
@@ -128,6 +128,8 @@
     [enablee100=0]
 )
 
+AM_CONDITIONAL(ENABLE_E100, test "x$enablee100" = x1)
+
 #------------------------------------------------------------------------------
 # e100 Kernel
 #------------------------------------------------------------------------------
--- a/devices/Makefile.am	Thu Feb 15 16:59:28 2007 +0000
+++ b/devices/Makefile.am	Fri Feb 16 09:52:39 2007 +0000
@@ -51,7 +51,9 @@
 modules_install:
 	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
 	cp $(srcdir)/ec_8139too.ko $(DESTDIR)$(LINUX_MOD_PATH)
+if ENABLE_E100
 	cp $(srcdir)/ec_e100.ko $(DESTDIR)$(LINUX_MOD_PATH)
+endif
 
 clean-local:
 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean