Am Freitag, 22. Juni 2007 schrieb Mauro Carvalho Chehab: > Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: > > On Jun 22 2007 15:46, Andreas Herrmann wrote: > > >Hi, > > > > > >I am not sure whether it is related or not > > >But if you select USB as module but build your v4l_usb driver > > >into the kernel you also get compile errors. > > >Attached is a patch which will prevent this by changing the menuconfig > > >from bool to tristate. > > > > A config option that is not referenced in the Makefile... > > should it really be a tristate? In my opinion, changing it > > to tristate is just a workaround, but I don't know kconfig > > well enough to make bool Do The Right Thing in these situations myself :( > > If USB is built as a module, the V4L USB modules should also be built as > a module. Otherwise, you will have compile errors, since some required > symbols on the drivers won't be linked into the kernel.
Yes, and if you build USB statically, you can build the video drivers statically or as modules. The config language must reflect that. I don't it is possible to represent that with a bool. Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel