mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] bootm: let BOOTM_OPTIONAL_SIGNED_IMAGES depend on BOOTM
@ 2025-03-11  8:09 Sascha Hauer
  2025-03-14 15:53 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2025-03-11  8:09 UTC (permalink / raw)
  To: Barebox List

The purpose of BOOTM_OPTIONAL_SIGNED_IMAGES is to select
HAS_INSECURE_DEFAULTS, but it should only do so when BOOTM
support is actually compiled in.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig b/common/Kconfig
index 8a051a29e7..12026b8232 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -768,6 +768,7 @@ config BOOTM_FORCE_SIGNED_IMAGES
 config BOOTM_OPTIONAL_SIGNED_IMAGES
 	def_bool !BOOTM_FORCE_SIGNED_IMAGES
 	select HAS_INSECURE_DEFAULTS
+	depends on BOOTM
 	help
 	  With this option enabled, barebox can be reconfigured to not verify signed
 	  images. It's the board code's responsibility to call the function
-- 
2.39.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-14 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-11  8:09 [PATCH] bootm: let BOOTM_OPTIONAL_SIGNED_IMAGES depend on BOOTM Sascha Hauer
2025-03-14 15:53 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox