[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1291851309.5992.150.camel@i7.infradead.org>
Date: Wed, 08 Dec 2010 23:35:08 +0000
From: David Woodhouse <dwmw2@...radead.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Randy Dunlap <randy.dunlap@...cle.com>,
Corentin Chary <corentin.chary@...il.com>,
sedat.dilek@...il.com, Matthew Garrett <mjg@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
platform-driver-x86@...r.kernel.org,
Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: linux-next: Tree for December 8
(drivers/platform/x86/Kconfig:422:error: recursive dependency detected!)
On Wed, 2010-12-08 at 15:31 -0800, Dmitry Torokhov wrote:
> Even better tool would allow selecting the needed optios right there,
> without the need of moving away from teh current option.
That's exactly what the Nemesis version of xconfig did, almost 15 years
ago.
> And yet better tool would not even ask user and enable them on its
> own. Hey, but we have it! It's called "select".
The tools could do that with 'depends on' too. Why make a distinction?
> Seriously, select is dangerous. I wonder if a rule like "One can only
> select a symbol whose dependencies are all satisfied by the current
> symbol and/or its parents and the symbols they select or depend on"
> would not make select safe enough.
"One can only select a symbol which isn't otherwise presented to the
user as a choice".
So things like CONFIG_REED_SOLOMON are fine to be selected, because the
user would never see it anyway.
Otherwise, just use depends. And if that's a problem for you, fix the
damn tools.
--
dwmw2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists