[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5341C22A.1050907@lwfinger.net>
Date: Sun, 06 Apr 2014 16:07:54 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Paul Bolle <pebolle@...cali.nl>,
Randy Dunlap <rdunlap@...radead.org>
CC: LKML <linux-kernel@...r.kernel.org>
Subject: Re: Kconfig circular dependency question
On 04/06/2014 03:52 PM, Paul Bolle wrote:
> On Sun, 2014-04-06 at 13:31 -0700, Randy Dunlap wrote:
>> and/or changing MOUSE_APPLETOUCH to depend on USB instead of select it?
>
> MOUSE_APPLETOUCH selects USB and depends on USB_ARCH_HAS_HCD. That's
> actually quite a common pattern.
>
> But what is the purpose of USB_ARCH_HAS_HCD? It is set by default if
> USB_SUPPORT is set. And USB depends on it, but since USB also depends on
> USB_SUPPORT that seems superfluous.
>
> My slow day continues, because I find this hard to grok.
As you have seen in my reply to Randy, this appears to arise from violating one
of the edicts of Linus that says that no configuration variable should select a
subsystem. Of course, one could argue that RFKILL is also a subsystem, and that
R8723AU should depend on it rather that selecting it.
My day also seems to be slowing. :)
Larry
--
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