summaryrefslogtreecommitdiff
path: root/tools/Kconfig
diff options
context:
space:
mode:
authorAlexander Dahl <[email protected]>2023-12-21 08:26:10 +0100
committerTom Rini <[email protected]>2024-01-11 22:09:11 -0500
commitb646a1053fda188bfb054acc98aa73bb23b158b1 (patch)
tree77b0537bf2afd160f3aa4406582f32e36dc03fe6 /tools/Kconfig
parentbbd6618fb57a70609c7eb768a6286496aa234c0d (diff)
tools: kwbimage: Allow disabling build on non-mvebu platforms
Some users want to build with CONFIG_TOOLS_LIBCRYPTO disabled, which in general is possible for at least some boards. 32-bit mvebu however requires kwbimage for building SPL, and kwbimage has a hard dependency to host OpenSSL. The new symbol CONFIG_TOOLS_KWBIMAGE allows disabling kwbimage build on non-mvebu platforms, and thus building without host libcrypto from OpenSSL. Based on previous work and discussions, see links below. Link: https://lore.kernel.org/u-boot/[email protected]/ Link: https://lore.kernel.org/u-boot/[email protected]/ Link: https://lore.kernel.org/u-boot/[email protected]/ Cc: Marek Vasut <[email protected]> Cc: Paul-Erwan Rio <[email protected]> Signed-off-by: Alexander Dahl <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/Kconfig')
-rw-r--r--tools/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/Kconfig b/tools/Kconfig
index 6e23f44d550..f8632cd59d0 100644
--- a/tools/Kconfig
+++ b/tools/Kconfig
@@ -25,6 +25,11 @@ config TOOLS_LIBCRYPTO
This selection does not affect target features, such as runtime FIT
signature verification.
+config TOOLS_KWBIMAGE
+ bool "Enable kwbimage support in host tools"
+ default y
+ select TOOLS_LIBCRYPTO
+
config TOOLS_FIT
def_bool y
help