Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Modules Installation and modules.conf



Hi!
After playing a little with the 'NEWSTRUC' dvb-drivers I realized that
it is not neccessary to install all *.o into /lib/modules. A diff is
attached. (I also install the firmware to the default-fw-path.

second attachment is a modified modules.conf. At least on my machine
dvb-drivers will load automaticly when accessing a dvb-device file, and
also unload the drivers when no longer needed.
I love these magic things.
-- 
Heute ist nicht alle Tage, ich komm' wieder, keine Frage!!!

   Joerg

If Karl, instead of writing a lot about Capital, had made a lot of Capital,
it would have been much better.
		-- Karl Marx's Mother
--- Makefile.old	Sat Dec  7 15:27:48 2002
+++ Makefile	Sat Dec  7 15:35:41 2002
@@ -41,7 +41,12 @@
 
 install:
 	install -v -m 0755 -d $(DESTDIR)/lib/modules/$(KERNEL_VERSION)/misc
-	find . -name "*.o" -a ! -name "*ksyms*" -exec install -v -m 0644 {} $(DESTDIR)/lib/modules/$(KERNEL_VERSION)/misc/ \;
+	install -v -m 0755 -d $(DESTDIR)/lib/DVB
+	install -m 0644 dvb-core.o $(DESTDIR)/lib/modules/$(KERNEL_VERSION)/misc/
+	install -m 0644 av7110/dvb-ttpci.o $(DESTDIR)/lib/modules/$(KERNEL_VERSION)/misc/
+	install -m 0644 av7110/Dpram $(DESTDIR)/lib/DVB
+	install -m 0644 av7110/Root $(DESTDIR)/lib/DVB
+	find frontends/ -name "*.o" -exec install -v -m 0644 {} $(DESTDIR)/lib/modules/$(KERNEL_VERSION)/misc/ \;
 	depmod -a
 
 reload: rmmod insmod
probeall /dev/dvb dvb-ttpci
alias /dev/dvb/*	/dev/dvb
below dvb-ttpci alps_bsru6 alps_bsrv2 grundig_29504-401 
add below dvb-ttpci grundig_29504-491 ves1820 alps_tdmb7 alps_tdlb7

Home | Main Index | Thread Index