Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-24 Thread Trent Piepho
On Sat, 23 Jun 2007, Satyam Sharma wrote: On 6/23/07, Trent Piepho [EMAIL PROTECTED] wrote: [...] What you have is tristate depends on bool depends on tristate. The bool between the two tristates promotes the first tristate from m to y. [...] Or another way, add the dependencies of the

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-23 Thread Satyam Sharma
Hi Trent, On 6/23/07, Trent Piepho [EMAIL PROTECTED] wrote: [...] What you have is tristate depends on bool depends on tristate. The bool between the two tristates promotes the first tristate from m to y. [...] Or another way, add the dependencies of the menuconfig to the if statement:

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-23 Thread Roman Zippel
Hi, On Sat, 23 Jun 2007, Satyam Sharma wrote: given menuconfig FOO depends on BAR, then all the config BAZs inside this menuconfig also automatically depend on BAR too. This is simpler in the long run because it requires least amount (actually none) of redundant typing I don't like this, as

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-23 Thread Jan Engelhardt
On Jun 23 2007 02:50, Satyam Sharma wrote: Ok, so we add this as solution 2.(c) to the reply I just sent to Jan :-) But I still prefer 2.(b) -- making the config scripts intelligent so that if a given menuconfig FOO depends on BAR, then all the config BAZs inside this menuconfig also

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-23 Thread Oleg Verych
* Newsgroups: linux.kernel,comp.video.video4linux,linux.usb.devel As you might know, there's no organized central traking system, thus this huge lists of MLs... But, as always, you need someone to code it, etc. ... and no relevant one, where somebody can actually see the problem and/or to code

[linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Mauro Carvalho Chehab
Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: Am Donnerstag, 21. Juni 2007 schrieb Toralf Förster: Right, but IMHO this issue is typical

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 10:22:46AM -0300, Mauro Carvalho Chehab wrote: Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: Am Donnerstag,

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
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

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: Am Donnerstag, 21. Juni 2007

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 03:51:34PM +0200, Jan Engelhardt wrote: 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

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread 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

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
On Jun 22 2007 16:27, Roman Zippel wrote: In this specific case, all V4L USB drivers depends on V4L_USB_DRIVERS, that depends, in turn, on USB. So, if USB is not selected, V4L_USB_DRIVERS should be unselected, unselecting zc0301. Unfortunately, the Kernel building system is not properly

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Mauro Carvalho Chehab
Em Sex, 2007-06-22 às 16:27 +0200, Roman Zippel escreveu: Hi, On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 12:03:19PM -0300, Mauro Carvalho Chehab wrote: 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

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Oliver Neukum
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

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Jan Engelhardt wrote: V4L_USB_DRIVERS=y turns USB into =y? That can't be. It should give the this depends on another symbol [USB] that is modular. That's not how it works, the enclosed symbols depend now on V4L_USB_DRIVERS, which is a boolean and it can only have two

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
On Jun 22 2007 18:24, Roman Zippel wrote: There have been discussions to remove the default-ys again, I've sent a patch [http://lkml.org/lkml/2007/5/12/216], but nothing happened. So, should all affected menuconfigs be transformed into tristates, what do you think, Roman? Let me know so I

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: I'm to keep default y for the menuconfig items. Since those don't generate any code (there's no Makefile items associated with the menuconfig vars), I don't know that without checking Makefiles/sources, so I have to assume it may

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Satyam Sharma
Hi Jan, On 6/22/07, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jun 22 2007 18:24, Roman Zippel wrote: There have been discussions to remove the default-ys again, I've sent a patch [http://lkml.org/lkml/2007/5/12/216], but nothing happened. So, should all affected menuconfigs be

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Trent Piepho
On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: This is the same problem I explained before:

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Satyam Sharma
On 6/23/07, Satyam Sharma [EMAIL PROTECTED] wrote: Hi Jan, On 6/22/07, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jun 22 2007 18:24, Roman Zippel wrote: There have been discussions to remove the default-ys again, I've sent a patch [http://lkml.org/lkml/2007/5/12/216], but