* [Buildroot] [PATCH 1/1] configs/freescale_imx8mnevk: uboot needs openssl
@ 2024-08-04 16:18 Julien Olivain
2024-08-04 21:06 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain @ 2024-08-04 16:18 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain, Fabio Estevam, Stephane Viau
This defconfig was 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.
This defconfig is 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>
| ^~~~~~~~~~~~~~~
This commit fixes the issue by adding
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y in the defconfig.
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_imx8mnevk_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/freescale_imx8mnevk_defconfig b/configs/freescale_imx8mnevk_defconfig
index a534c50477..fc601dd5fb 100644
--- a/configs/freescale_imx8mnevk_defconfig
+++ b/configs/freescale_imx8mnevk_defconfig
@@ -31,6 +31,7 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.6.23-2.0.0)/uboot-imx-lf-6.6.23-2.0.0.tar.gz"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mn_ddr4_evk"
BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin"
BR2_TARGET_UBOOT_SPL=y
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] configs/freescale_imx8mnevk: uboot needs openssl
2024-08-04 16:18 [Buildroot] [PATCH 1/1] configs/freescale_imx8mnevk: uboot needs openssl Julien Olivain
@ 2024-08-04 21:06 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-04 21:06 UTC (permalink / raw)
To: Julien Olivain; +Cc: Fabio Estevam, Stephane Viau, buildroot
On Sun, 4 Aug 2024 18:18:06 +0200
Julien Olivain <ju.o@free.fr> wrote:
> This defconfig was 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.
>
> This defconfig is 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>
> | ^~~~~~~~~~~~~~~
>
> This commit fixes the issue by adding
> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y in the defconfig.
>
> 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_imx8mnevk_defconfig | 1 +
> 1 file changed, 1 insertion(+)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-04 21:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-04 16:18 [Buildroot] [PATCH 1/1] configs/freescale_imx8mnevk: uboot needs openssl Julien Olivain
2024-08-04 21:06 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox