Re: Doubt about the file: dvb-usb-dvb.c

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

 



Em Qui, 2007-08-02 às 09:39 +0800, lwtbenben escreveu:> >a) create a newer dir with your driver: > > /linux/drivers/media/dvb/mydriver> >b) Under /linux/drivers/media/dvb/mydriver:> > create a Kconfig and a Makefile > > You may use another Kconfig/Makefile as example (for example,> pluto2)> >c) Add your driver directory at /linux/drivers/media/dvb/Makefile:> > obj-y := dvb-core/ frontends/ ttpci/ ttusb-dec/ ttusb-budget/ >b2c2/> bt8xx/ cinergyT2/ dvb-usb/ pluto2/ mydriver/> >d) Add a source line for your driver> at /linux/drivers/media/dvb/Kconfig:> > source "drivers/media/dvb/mydriver/Kconfig"> >After that, you will be able to use v4l-dvb makefile to compile your> >driver. With> > make help> >you'll see some useful syntax that may help your development.> > Dear Mauro:> I had my problem solved last week, thank you all the same for clear> answer.> And I compile my module in the 2.6.20-15 kernel. > Now I want to compile the module in v4l-dvb tree, I did it this way:> I put my usb adapter program named usb-adapter.c in> linux/drivers/media/dvb/dvb-usb, and I modified the Makefile and> Kconfig to add my usb adapter module;> I put my frontend program named my-frontend.c in> linux/drivers/media/dvb/frontend and I modified the Makefile and> Kconfig to add my frontend module;> But the v4l-dvb tree can't compile.> There is some problem with the script make_myconfig.pl.> Do you have any advice about this issue????? 
It is very unlikely to have a bug on make_myconfig.pl for such a simpletask. Probably, you didn't selected the newer module with "makemenuconfig".
One alternative to avoid needing to manually select, is to indicate theminimum kernel version that the module requires. This is donevia /v4/versions.txt file.
-- Cheers,Mauro

_______________________________________________linux-dvb mailing listlinux-dvb@xxxxxxxxxxxxxxx://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux