From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Dec 2021 14:07:59 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mvfd1-0024bD-0x for lore@lore.pengutronix.de; Fri, 10 Dec 2021 14:07:59 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mvfd0-00063s-7b; Fri, 10 Dec 2021 14:07:58 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvfc9-0005Xf-Vw; Fri, 10 Dec 2021 14:07:06 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1mvfc9-003mOC-Uz; Fri, 10 Dec 2021 14:07:05 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1mvfc8-00GMTW-Fe; Fri, 10 Dec 2021 14:07:04 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 10 Dec 2021 14:07:04 +0100 Message-Id: <20211210130704.3899589-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211130170700.92877-1-ada@thorsis.com> References: <20211130170700.92877-1-ada@thorsis.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] u-boot: Add option to depend on host-openssl 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: Alexander Dahl Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 0c779a60e50c40d522b1e9c20b5c75b2e57fde5a. Michael [sent from post-receive hook] On Fri, 10 Dec 2021 14:07:04 +0100, Alexander Dahl wrote: > Recent U-Boot v2021.10 introduced a target-independent config option to > build host tools with OpenSSL support (for signed images). Because we > can not depend on some of U-Boot's Kconfig options we follow the same > approach as kernel and barebox package and add a menu switch for that. > > Signed-off-by: Alexander Dahl > Message-Id: <20211130170700.92877-1-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > diff --git a/platforms/u-boot.in b/platforms/u-boot.in > index 4ddf3b3fb02d..d5410e4a16df 100644 > --- a/platforms/u-boot.in > +++ b/platforms/u-boot.in > @@ -2,6 +2,7 @@ > > menuconfig U_BOOT > select BOOTLOADER > + select HOST_OPENSSL if U_BOOT_NEEDS_HOST_OPENSSL > prompt "U-Boot " > bool > > @@ -247,5 +248,17 @@ config U_BOOT_INSTALL_U_BOOT_STM32 > platform image directory. Say yes if you are building for STM32MP1 > SOCs. > > +config U_BOOT_NEEDS_HOST_OPENSSL > + prompt "needs host OpenSSL" > + bool > + help > + Newer host U-Boot tools can sign images and use OpenSSL for that. > + It is most probably needed if your board config does not disable > + CONFIG_TOOLS_LIBCRYPTO. > + > + Select this if you're unsure, as it won't hurt. > + It might just increase the build time, if no other package has > + host openssl selected. > + > endif > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de