lkml.org 
[lkml]   [2011]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] configfs: change depends -> select SYSFS
On 01/16/11 16:52, Stefan Richter wrote:
> On Jan 16 Linus Torvalds wrote:
>> Or do you expect a high-quality implementation of a configuration
>> script to allow the user to just say "I want ocfs2", and then figure
>> out the dependencies and solve them for you?
>>
>> I'd say that the latter case is OBVIOUSLY the quality implementation,
>> while the former one is just stupid.
>
> As Al noted, there also needs to be a convenient way to *disable* options.
>
> Hence, the Kconfig files should merely declare the dependencies. Then,
> some user interfaces should deal with the this database of dependencies
> and let different people achieve different goals as easily as possible.
>
> We already have different UIs. But perhaps we have too much UI down in
> the Kconfig files. I.e., perhaps Kconfig shouldn't know the difference
> between depends-on and select. Let the different UIs present the
> dependency graph to the operator in different ways, suitable to different
> tasks.

I agree, I think that the UIs should list a kconfig symbol and its dependencies,
then let the user enable them as needed.

> /handwave off.


--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


\
 
 \ /
  Last update: 2011-01-17 02:11    [W:0.098 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site