Message ID | 20240804161354.1318666-1-ju.o@free.fr |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] configs/freescale_imx[67]*: uboot needs openssl | expand |
On Sun, 4 Aug 2024 18:13:54 +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_imx6dlsabreauto_defconfig | 1 + > configs/freescale_imx6dlsabresd_defconfig | 1 + > configs/freescale_imx6qsabreauto_defconfig | 1 + > configs/freescale_imx6qsabresd_defconfig | 1 + > configs/freescale_imx6sxsabresd_defconfig | 1 + > configs/freescale_imx7dsabresd_defconfig | 1 + > 6 files changed, 6 insertions(+) Applied to master, thanks. Thomas
diff --git a/configs/freescale_imx6dlsabreauto_defconfig b/configs/freescale_imx6dlsabreauto_defconfig index 9354d2ecec..0a60d1b6b1 100644 --- a/configs/freescale_imx6dlsabreauto_defconfig +++ b/configs/freescale_imx6dlsabreauto_defconfig @@ -41,3 +41,4 @@ BR2_TARGET_UBOOT_FORMAT_IMX=y 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_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/configs/freescale_imx6dlsabresd_defconfig b/configs/freescale_imx6dlsabresd_defconfig index a06b49d74d..49a3ea8448 100644 --- a/configs/freescale_imx6dlsabresd_defconfig +++ b/configs/freescale_imx6dlsabresd_defconfig @@ -40,3 +40,4 @@ BR2_TARGET_UBOOT_FORMAT_IMX=y 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_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/configs/freescale_imx6qsabreauto_defconfig b/configs/freescale_imx6qsabreauto_defconfig index bc9a64a735..8ae57fc7e0 100644 --- a/configs/freescale_imx6qsabreauto_defconfig +++ b/configs/freescale_imx6qsabreauto_defconfig @@ -41,3 +41,4 @@ BR2_TARGET_UBOOT_FORMAT_IMX=y 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_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6qsabresd_defconfig index a9f45ad4be..09829c2015 100644 --- a/configs/freescale_imx6qsabresd_defconfig +++ b/configs/freescale_imx6qsabresd_defconfig @@ -41,3 +41,4 @@ BR2_TARGET_UBOOT_FORMAT_IMX=y 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_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/configs/freescale_imx6sxsabresd_defconfig b/configs/freescale_imx6sxsabresd_defconfig index a88ac68da1..5beef977d4 100644 --- a/configs/freescale_imx6sxsabresd_defconfig +++ b/configs/freescale_imx6sxsabresd_defconfig @@ -40,3 +40,4 @@ 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_FORMAT_IMX=y BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/configs/freescale_imx7dsabresd_defconfig b/configs/freescale_imx7dsabresd_defconfig index f00144239e..1b2412ad8c 100644 --- a/configs/freescale_imx7dsabresd_defconfig +++ b/configs/freescale_imx7dsabresd_defconfig @@ -32,6 +32,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_FORMAT_IMX=y BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y # required tools to create the microSD image BR2_PACKAGE_HOST_DOSFSTOOLS=y
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_imx6dlsabreauto_defconfig | 1 + configs/freescale_imx6dlsabresd_defconfig | 1 + configs/freescale_imx6qsabreauto_defconfig | 1 + configs/freescale_imx6qsabresd_defconfig | 1 + configs/freescale_imx6sxsabresd_defconfig | 1 + configs/freescale_imx7dsabresd_defconfig | 1 + 6 files changed, 6 insertions(+)