summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Heidelberg <m.heidelberg@cab.de>2024-03-11 08:43:08 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2024-03-15 11:01:18 +0100
commit2dd8696c067ca5a90122746e5109a3291ed5805d (patch)
treed2116393bb81a8a203e6c014ecc668fae346bcfe
parent359576397afb515a8e33cce77f87f14cc2b1c478 (diff)
downloadptxdist-2dd8696c067ca5a90122746e5109a3291ed5805d.tar.gz
ptxdist-2dd8696c067ca5a90122746e5109a3291ed5805d.tar.xz
u-boot: new options to select host-gnutls and host-libuuid
Certain U-Boot config options (e.g. EFI_CAPSULE_ON_DISK and FWU_MULTI_BANK_UPDATE) require host tools (e.g. TOOLS_MKEFICAPSULE and TOOLS_MKFWUMDATA) with these libraries as dependencies. Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de> Message-Id: <20240311074308.34315-4-m.heidelberg@cab.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--platforms/u-boot.in22
1 files changed, 21 insertions, 1 deletions
diff --git a/platforms/u-boot.in b/platforms/u-boot.in
index 769237081..000ca491a 100644
--- a/platforms/u-boot.in
+++ b/platforms/u-boot.in
@@ -4,6 +4,8 @@ menuconfig U_BOOT
select BOOTLOADER
select HOST_SYSTEM_PYTHON3
select HOST_OPENSSL if U_BOOT_NEEDS_HOST_OPENSSL
+ select HOST_GNUTLS if U_BOOT_NEEDS_HOST_GNUTLS
+ select HOST_LIBUUID if U_BOOT_NEEDS_HOST_LIBUUID
prompt "U-Boot "
bool
@@ -286,5 +288,23 @@ config U_BOOT_NEEDS_HOST_OPENSSL
It might just increase the build time, if no other package has
host openssl selected.
-endif
+config U_BOOT_NEEDS_HOST_GNUTLS
+ prompt "needs host GnuTLS"
+ bool
+ help
+ U-Boot from version 2022.04 includes host tools using GnuTLS for
+ image signing.
+ Select this if your board config enables such tools, e.g. with
+ CONFIG_TOOLS_MKEFICAPSULE.
+
+config U_BOOT_NEEDS_HOST_LIBUUID
+ prompt "needs host libuuid"
+ bool
+ help
+ U-Boot from version 2022.04 includes host tools using libuuid.
+
+ Select this if your board config enables such tools, e.g. with
+ CONFIG_TOOLS_MKEFICAPSULE or CONFIG_TOOLS_MKFWUMDATA.
+
+endif