Re: Kconfig circular dependency question

From: Paul Bolle
Date: Sun Apr 06 2014 - 16:21:29 EST


On Sun, 2014-04-06 at 22:10 +0200, Paul Bolle wrote:
> On Sun, 2014-04-06 at 14:49 -0500, Larry Finger wrote:
> > A kernel build is reporting the following:
> >
> > net/rfkill/Kconfig:4:error: recursive dependency detected!
> > net/rfkill/Kconfig:4: symbol RFKILL is selected by R8723AU
> > drivers/staging/rtl8723au/Kconfig:1: symbol R8723AU depends on USB
> > drivers/usb/Kconfig:41: symbol USB is selected by MOUSE_APPLETOUCH
> > drivers/input/mouse/Kconfig:162: symbol MOUSE_APPLETOUCH depends on INPUT
> > drivers/input/Kconfig:8: symbol INPUT is selected by ACPI_CMPC
> > drivers/platform/x86/Kconfig:635: symbol ACPI_CMPC depends on RFKILL
>
> I must be having a slow day, but how should this be parsed to see the
> recursive dependency?

So it tells us ("depends on" vertical, "is selected by" horizontal):

R8723AU -> RFKILL
|
v
MOUSE_APPLETOUCH -> USB
|
v
ACPCI_CMPC -> INPUT
|
v
RFKILL

doesn't it? And why is that a problem?


Paul Bolle

--
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/