From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: Gilles Talis <gilles.talis@gmail.com>,
Fabio Estevam <festevam@gmail.com>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] configs/freescale_imx8m[mq]evk*: uboot needs openssl and gnutls
Date: Sun, 4 Aug 2024 23:06:43 +0200 [thread overview]
Message-ID: <20240804230643.47e96e9c@windsurf> (raw)
In-Reply-To: <20240804162057.1321387-1-ju.o@free.fr>
On Sun, 4 Aug 2024 18:20:57 +0200
Julien Olivain <ju.o@free.fr> wrote:
> Those defconfigs were recently bumped to NXP BSP lf-6.6.23-2.0.0.
>
> NXP BSP U-Boot version lf-6.6.23-2.0.0 is based on upstream
> version 2024.04. This version now requires OpenSSL and GnuTLS for
> that configuration.
>
> Those defconfigs are failing in uboot build, with output:
>
> In file included from tools/imagetool.h:24,
> from tools/imagetool.c:8:
> include/image.h:1471:12: fatal error: openssl/evp.h: No such file or directory
> 1471 | # include <openssl/evp.h>
> | ^~~~~~~~~~~~~~~
>
> and:
>
> tools/mkeficapsule.c:20:10: fatal error: gnutls/gnutls.h: No such file or directory
> 20 | #include <gnutls/gnutls.h>
> | ^~~~~~~~~~~~~~~~~
>
> This commit fixes the issue by adding BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
> and BR2_TARGET_UBOOT_NEEDS_OPENSSL=y in those defconfigs.
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Note: Patch tested in Gitlab CI pipeline:
> https://gitlab.com/jolivain/buildroot/-/pipelines/1400170073
> ---
> configs/freescale_imx8mmevk_defconfig | 2 ++
> configs/freescale_imx8mqevk_defconfig | 2 ++
> 2 files changed, 4 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-08-04 21:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-04 16:20 [Buildroot] [PATCH 1/1] configs/freescale_imx8m[mq]evk*: uboot needs openssl and gnutls Julien Olivain
2024-08-04 21:06 ` Thomas Petazzoni via buildroot [this message]
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=20240804230643.47e96e9c@windsurf \
--to=buildroot@buildroot.org \
--cc=festevam@gmail.com \
--cc=gilles.talis@gmail.com \
--cc=ju.o@free.fr \
--cc=thomas.petazzoni@bootlin.com \
/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