[PATCH 2/9] cmd: Kconfig: Add missing dependency for cmd gpt

Michal Simek michal.simek at xilinx.com
Wed Aug 19 10:44:16 CEST 2020


Command gpt select PARTITION_UUIDS which depends on PARTITIONS which is
doesn't need to be enabled.

Kconfig reports it like this.

WARNING: unmet direct dependencies detected for PARTITION_UUIDS
  Depends on [n]: PARTITIONS [=n]
  Selected by [y]:
  - CMD_GPT [=y]

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 9ad511aa176f..692fae5b8e89 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1012,6 +1012,7 @@ config CMD_GPT
 	bool "GPT (GUID Partition Table) command"
 	select EFI_PARTITION
 	select HAVE_BLOCK_DEVICE
+	select PARTITIONS
 	select PARTITION_UUIDS
 	imply RANDOM_UUID
 	help
-- 
2.28.0



More information about the U-Boot mailing list