mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Heidelberg <m.heidelberg@cab.de>
To: <ptxdist@pengutronix.de>
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: [ptxdist] [PATCH 3/3] u-boot: new options to select host-gnutls and host-libuuid
Date: Mon, 11 Mar 2024 08:43:08 +0100	[thread overview]
Message-ID: <20240311074308.34315-4-m.heidelberg@cab.de> (raw)
In-Reply-To: <20240311074308.34315-1-m.heidelberg@cab.de>

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>
---
 platforms/u-boot.in | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

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
-- 
2.34.1




  parent reply	other threads:[~2024-03-11  7:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11  7:43 [ptxdist] [PATCH 0/3] Fix U-Boot build with missing host libs Markus Heidelberg
2024-03-11  7:43 ` [ptxdist] [PATCH 1/3] host-nettle: new package Markus Heidelberg
2024-03-19  6:44   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-03-11  7:43 ` [ptxdist] [PATCH 2/3] host-gnutls: " Markus Heidelberg
2024-03-19  6:44   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-03-11  7:43 ` Markus Heidelberg [this message]
2024-03-19  6:44   ` [ptxdist] [APPLIED] u-boot: new options to select host-gnutls and host-libuuid Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240311074308.34315-4-m.heidelberg@cab.de \
    --to=m.heidelberg@cab.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox