diff mbox series

[1/1] configs/freescale_imx8q*: uboot needs openssl

Message ID 20240804161557.1319569-1-ju.o@free.fr
State Accepted
Headers show
Series [1/1] configs/freescale_imx8q*: uboot needs openssl | expand

Commit Message

Julien Olivain Aug. 4, 2024, 4:15 p.m. UTC
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.

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>
          |            ^~~~~~~~~~~~~~~

This commit fixes the issue by adding
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y in all the impacted 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_imx8qmmek_defconfig  | 1 +
 configs/freescale_imx8qxpmek_defconfig | 1 +
 2 files changed, 2 insertions(+)

Comments

Thomas Petazzoni Aug. 4, 2024, 9:06 p.m. UTC | #1
On Sun,  4 Aug 2024 18:15: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.
> 
> 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>
>           |            ^~~~~~~~~~~~~~~
> 
> This commit fixes the issue by adding
> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y in all the impacted 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_imx8qmmek_defconfig  | 1 +
>  configs/freescale_imx8qxpmek_defconfig | 1 +
>  2 files changed, 2 insertions(+)

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/configs/freescale_imx8qmmek_defconfig b/configs/freescale_imx8qmmek_defconfig
index 3ad273c9d4..6fb3a54df1 100644
--- a/configs/freescale_imx8qmmek_defconfig
+++ b/configs/freescale_imx8qmmek_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="imx8qm_mek"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_IMX_MKIMAGE=y
diff --git a/configs/freescale_imx8qxpmek_defconfig b/configs/freescale_imx8qxpmek_defconfig
index d2fae2c9e7..3ff476e992 100644
--- a/configs/freescale_imx8qxpmek_defconfig
+++ b/configs/freescale_imx8qxpmek_defconfig
@@ -33,6 +33,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="imx8qxp_mek"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_IMX_MKIMAGE=y