lkml.org 
[lkml]   [2014]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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




\
 
 \ /
  Last update: 2014-04-06 23:41    [W:0.626 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site