[PATCH 6/8] pbl: Fix Kconfig dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



WARNING: unmet direct dependencies detected for PBL_IMAGE
Depends on [n]: HAVE_PBL_IMAGE [=n]
Selected by [y]:
- PBL_MULTI_IMAGES [=y] && HAVE_PBL_MULTI_IMAGES [=y]

WARNING: unmet direct dependencies detected for PBL_VERIFY_PIGGY
Depends on [n]: PBL_IMAGE [=n] && ARM [=y]
Selected by [y]:
- ARCH_IMX8M [=y] && ARCH_IMX [=y] && HABV4 [=y]

WARNING: unmet direct dependencies detected for BOARD_GENERIC_DT
Depends on [n]: PBL_IMAGE [=n]
Selected by [y]:
- BOARD_ARM_GENERIC_DT [=y] && HAVE_PBL_MULTI_IMAGES [=y] && OFDEVICE [=y]

Signed-off-by: Alexander Shiyan <eagle.alexander923@xxxxxxxxx>
---
 pbl/Kconfig | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/pbl/Kconfig b/pbl/Kconfig
index ce0acbb646..90eeafe29f 100644
--- a/pbl/Kconfig
+++ b/pbl/Kconfig
@@ -11,23 +11,29 @@ config HAVE_IMAGE_COMPRESSION
 
 config PBL_IMAGE
 	bool "Pre-Bootloader image"
-	depends on HAVE_PBL_IMAGE
+	depends on HAVE_PBL_IMAGE || HAVE_PBL_MULTI_IMAGES
+
+config PBL_VERIFY_PIGGY
+	depends on ARM
+	bool
+
+config BOARD_GENERIC_DT
+	bool
+	select LIBFDT
+
+if PBL_IMAGE
 
 config PBL_MULTI_IMAGES
 	bool
-	select PBL_IMAGE
 	select PBL_RELOCATABLE
 	depends on HAVE_PBL_MULTI_IMAGES
 	default y
 
 config PBL_SINGLE_IMAGE
 	bool
-	depends on PBL_IMAGE
 	depends on !HAVE_PBL_MULTI_IMAGES
 	default y
 
-if PBL_IMAGE
-
 config PBL_RELOCATABLE
 	depends on ARM || MIPS || RISCV
 	bool "relocatable pbl image"
@@ -38,14 +44,6 @@ config PBL_RELOCATABLE
 	  This option only influences the PBL image. See RELOCATABLE to also make
 	  the real image relocatable.
 
-config PBL_VERIFY_PIGGY
-	depends on ARM
-	bool
-
-config BOARD_GENERIC_DT
-	bool
-	select LIBFDT
-
 config IMAGE_COMPRESSION
 	bool
 	depends on HAVE_IMAGE_COMPRESSION
-- 
2.32.0





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux