aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-03-23 17:58:41 -0400
committerTom Rini <trini@konsulko.com>2023-03-23 17:58:41 -0400
commit97e0a68baaca8de1c67039915ff53ad261c3a5c6 (patch)
tree9de47945465f0b4f798f6011bc2c1c1bb28786ae
parent065f4c35597d61851151bea691d5bbcd417cc09c (diff)
downloadu-boot-WIP/tighten-some-deps.zip
u-boot-WIP/tighten-some-deps.tar.gz
u-boot-WIP/tighten-some-deps.tar.bz2
Kconfig: DISTRO_DEFAULTS: Tighten some dependenciesWIP/tighten-some-deps
We only need some commands if we have a block device, or USB host. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/Kconfig b/Kconfig
index a75cce7..a5be87f 100644
--- a/Kconfig
+++ b/Kconfig
@@ -199,10 +199,10 @@ config DISTRO_DEFAULTS
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 @@ config DISTRO_DEFAULTS
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