From: Maxime Ripard Date: Wed, 27 Sep 2017 17:34:04 +0200 Subject: [U-Boot] [GIT PULL] u-boot-sunxi/master In-Reply-To: <20170927123306.GS3112@bill-the-cat> References: <20170927103116.x2ilx7l46lkhqe5i@flea> <20170927123306.GS3112@bill-the-cat> Message-ID: <20170927153404.oiyqmdqawoicmp56@flea> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Sep 27, 2017 at 12:33:06PM +0000, Tom Rini wrote: > On Wed, Sep 27, 2017 at 12:31:16PM +0200, Maxime Ripard wrote: > > Hi Tom, > > > > Here is a pull request for the sunxi related changes for the next > > U-Boot version. > > > > The diffstat is a bit scary, but mostly because of the Kconfig > > migration of the USB ethernet related options, which were enabled by a > > big number of boards. The fastboot options simplification is also one > > of the offenders. > > > > This is my first pull request ever, so I might have done something > > wrong, let me know if it's the case. > > Sorry, this is pretty broken: > $ make O=/tmp/T sandbox_config > make[1]: Entering directory `/tmp/T' > GEN ./Makefile > drivers/usb/Kconfig:1:error: recursive dependency detected! > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > drivers/usb/Kconfig:1: symbol USB is selected by ARCH_SUNXI > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > arch/arm/Kconfig:674: symbol ARCH_SUNXI is part of choice > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > arch/arm/Kconfig:291: choice contains symbol ARCH_SUNXI > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > arch/arm/Kconfig:674: symbol ARCH_SUNXI depends on USB_MUSB_GADGET > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > drivers/usb/musb-new/Kconfig:11: symbol USB_MUSB_GADGET depends on USB Gah. Sorry for that. So much for slipping in a fix without testing it... I wonder why it's considered a recursive dependency though. The situation seems to be: selects depends ARCH_SUNXI --------> USB <--------- USB_MUSB_GADGET | +-------> USB_ETHER implies USB_ETHER is implied only if USB_MUSB_GADGET is set, but that looks like a directed graph without any loop, right? Or am I missing something? Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: