Re: Kconfig circular dependency question
From: Larry Finger
Date: Sun Apr 06 2014 - 17:08:08 EST
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. :)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/