login
Header Space

 
 

Re: Linux 2.6.26-rc1

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mauro Carvalho Chehab <mchehab@...>
Cc: Alistair John Strachan <alistair@...>, Robin Holt <holt@...>, Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Tuesday, May 6, 2008 - 4:47 pm

Mauro Carvalho Chehab wrote:
[...]

Ah, now I understand.  You use "select" to enable options which aren't 
actually a build requirement for the selecting option.

Another example where "select" is used to fill a gap left by limitations 
regarding what can be presented in the "make ...config" UIs.  If you use 
"select" this way, well, then you have to cope with the implications.


Another workaround for this UI limitation:

config VIDEO_EM28XX
	tristate "Empia EM2800/2820/2840 USB video capture support"
	depends on WHATEVER_BUILD_REQUIREMENT_IS_LEFT
	select MAYBE_ANOTHER_BUILD_REQUIREMENT
	help
	  ...

comment "Empia EM28xx devices may require Philips SAA7113/4/5 video 
decoders"
	depends on VIDEO_EM28XX && VIDEO_SAA711X=n

comment "Empia EM28xx devices may require Texas Instruments TVP5150 
video decoder"
	depends on VIDEO_EM28XX && VIDEO_TVP5150=n

Still awkward, but now you don't have to copy VIDEO_SAA711X's and 
VIDEO_TVP5150's dependencies to VIDEO_EM28XX anymore.


Or another idea:

Copy _all_ dependencies of drivers which can be selected by "...if 
VIDEO_HELPER_CHIPS_AUTO" to VIDEO_HELPER_CHIPS_AUTO.

Of course all these issues go away as soon as somebody has implemented 
"select" with recursive dependency check.
-- 
Stefan Richter
-=====-==--- -=-= --==-
http://arcgraph.de/sr/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.26-rc1, Linus Torvalds, (Sat May 3, 3:38 pm)
Re: Scheduling problems ? [ Was: Linux 2.6.26-rc1 ], Ingo Molnar, (Tue May 6, 9:11 am)
Re: Linux 2.6.26-rc1, Andreas Mohr, (Mon May 5, 1:39 am)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Mon May 5, 3:30 am)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Mon May 5, 7:51 pm)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Mon May 5, 8:17 pm)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Tue May 6, 1:48 am)
Re: Linux 2.6.26-rc1, David Miller, (Mon May 5, 7:55 pm)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Tue May 6, 1:35 am)
Re: Linux 2.6.26-rc1, David Miller, (Tue May 6, 2:56 am)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Tue May 6, 3:26 am)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Mon May 5, 8:21 pm)
Re: Linux 2.6.26-rc1, Andrew Morton, (Mon May 5, 8:16 pm)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Tue May 6, 1:57 am)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Mon May 5, 4:14 pm)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Tue May 6, 9:07 am)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Wed May 7, 4:35 am)
Re: Linux 2.6.26-rc1, Jan Engelhardt, (Sun May 4, 2:40 pm)
[patch] sysfs: build fix, Ingo Molnar, (Sun May 4, 3:29 am)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Sat May 3, 5:47 pm)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Sat May 3, 5:53 pm)
Re: Linux 2.6.26-rc1, Robin Holt, (Sun May 4, 8:30 am)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Sun May 4, 9:56 am)
Re: Linux 2.6.26-rc1, Robin Holt, (Sun May 4, 12:09 pm)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Mon May 5, 5:04 pm)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Tue May 6, 4:02 am)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Tue May 6, 6:31 am)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 10:34 am)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Tue May 6, 3:13 pm)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 3:44 pm)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Tue May 6, 4:06 pm)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 4:47 pm)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 7:48 pm)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Tue May 6, 6:39 pm)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 7:36 pm)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Thu May 8, 8:48 am)
Re: Linux 2.6.26-rc1, Stefan Richter, (Thu May 8, 10:11 am)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 10:54 am)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Sun May 4, 12:33 pm)
speck-geostationary