Skip to contentSkip to conversation

distro: Imply USB_STORAGE when USB is available

PATCH NAK Alexander Graf 2 participants 2 messages Oct 18, 2018 – Nov 20, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 distro: Imply USB_STORAGE when USB is available

When you support distro boot and you support USB, you usually want to also support booting from USB storage.

Reflect that in the Kconfig, so that we don't have to explicitly add USB storage support to every defconfig individually.

---
 Kconfig | 1 +
 1 file changed, 1 insertion(+)
Kconfig +1 -0
index 1aadf5dd2d..8d515fe18c 100644
@@ -86,6 +86,7 @@ config DISTRO_DEFAULTS
 	select SUPPORT_RAW_INITRD
 	select SYS_LONGHELP
 	imply CMD_MII if NET
+	imply USB_STORAGE if USB
 	imply USE_BOOTCOMMAND
 	help
 	  Select this to enable various options and commands which are suitable
Signature · 1 line
2.12.3
#1 lore raw
Quoted 8 lines · Alexander Graf

When you support distro boot and you support USB, you usually want to also support booting from USB storage.

Reflect that in the Kconfig, so that we don't have to explicitly add USB storage support to every defconfig individually.

NAK:
drivers/usb/Kconfig:1:error: recursive dependency detected! drivers/usb/Kconfig:1: symbol USB is selected by DISTRO_DEFAULTS
Kconfig:89: symbol DISTRO_DEFAULTS depends on USB
For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations"

Under sandbox_config

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181120/c32d3273/attachment.sig>