Kconfig: DISTRO_DEFAULTS: Tighten some dependencies
We only need some commands if we have a block device, or USB host.
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/Kconfig b/Kconfig
index a75cce7..a5be87f 100644
--- a/Kconfig
+++ b/Kconfig
@@ -199,10 +199,10 @@
select CMD_BOOTZ if ARM && !ARM64
select CMD_DHCP if CMD_NET
select CMD_ENV_EXISTS
- select CMD_EXT2
- select CMD_EXT4
- select CMD_FAT
- select CMD_FS_GENERIC
+ select CMD_EXT2 if BLK
+ select CMD_EXT4 if BLK
+ select CMD_FAT if BLK
+ select CMD_FS_GENERIC if BLK
select CMD_PART if PARTITIONS
select CMD_PING if CMD_NET
select CMD_PXE if NET
@@ -212,7 +212,7 @@
select SUPPORT_RAW_INITRD
select SYS_LONGHELP
imply CMD_MII if NET
- imply USB_STORAGE
+ imply USB_STORAGE if USB_HOST
imply USE_BOOTCOMMAND
help
Select this to enable various options and commands which are suitable