Re: Kconfig circular dependency question

2014-04-07 Thread Paul Bolle
On Sun, 2014-04-06 at 17:51 -0500, Larry Finger wrote: > No problem - it is attached. The problem I was trying to solve was reported > by > the kbuild test robot. To get the driver r8723au, you will need the > staging-next > tree. 0) I couldn't reproduce your error with this config file (and t

Re: Kconfig circular dependency question

2014-04-06 Thread Gene Heskett
On Sunday 06 April 2014, 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

Re: Kconfig circular dependency question

2014-04-06 Thread Paul Bolle
On Sun, 2014-04-06 at 16:07 -0500, Larry Finger wrote: > 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,

Re: Kconfig circular dependency question

2014-04-06 Thread Larry Finger
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 purpos

Re: Kconfig circular dependency question

2014-04-06 Thread Larry Finger
On 04/06/2014 03:31 PM, Randy Dunlap wrote: On 04/06/2014 12:49 PM, 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:symb

Re: Kconfig circular dependency question

2014-04-06 Thread Paul Bolle
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

Re: Kconfig circular dependency question

2014-04-06 Thread Randy Dunlap
On 04/06/2014 12:49 PM, 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/u

Re: Kconfig circular dependency question

2014-04-06 Thread Paul Bolle
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 > > drive

Re: Kconfig circular dependency question

2014-04-06 Thread Paul Bolle
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

Kconfig circular dependency question

2014-04-06 Thread Larry Finger
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_APPLETOU