From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 11 Mar 2024 08:44:01 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rjaKH-000jTD-2O for lore@lore.pengutronix.de; Mon, 11 Mar 2024 08:44:01 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rjaKH-0007Tl-Fe; Mon, 11 Mar 2024 08:44:01 +0100 Received: from mail.cab.de ([213.144.1.196]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rjaK1-0007BY-F7 for ptxdist@pengutronix.de; Mon, 11 Mar 2024 08:43:45 +0100 X-cab-MailScanner-Watermark: 1710747810.97673@FviLAELdvQUHZyslrpxvbQ X-cab-MailScanner-From: m.heidelberg@cab.de X-cab-MailScanner: Found to be clean X-cab-MailScanner-ID: 31461120142.A41B5 X-cab-MailScanner-Information: Please contact it@cab.de for more information Received: from Adranos.cab.de (unknown [10.10.1.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cab.de (Postfix) with ESMTPS id 31461120142 for ; Mon, 11 Mar 2024 08:43:30 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.cab.de 31461120142 Authentication-Results: vulcanos.cab.de; dmarc=none (p=none dis=none) header.from=cab.de Authentication-Results: vulcanos.cab.de; spf=none smtp.mailfrom=M.Heidelberg@cab.de DKIM-Filter: OpenDKIM Filter v2.11.0 mail.cab.de 31461120142 Received: from KAN23-025.cab.de (10.10.3.158) by Adranos.cab.de (10.10.1.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 11 Mar 2024 08:43:27 +0100 From: Markus Heidelberg To: Date: Mon, 11 Mar 2024 08:43:08 +0100 Message-ID: <20240311074308.34315-4-m.heidelberg@cab.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240311074308.34315-1-m.heidelberg@cab.de> References: <20240311074308.34315-1-m.heidelberg@cab.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.10.3.158] X-ClientProxiedBy: Adranos.cab.de (10.10.1.54) To Adranos.cab.de (10.10.1.54) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.7 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH 3/3] u-boot: new options to select host-gnutls and host-libuuid X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Markus Heidelberg Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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