[Buildroot] [PATCH v2 1/1] configs/imx8mmpico: uboot needs openssl

Sébastien Szymanski sebastien.szymanski at armadeus.com
Mon Feb 5 15:29:58 UTC 2024


Hi Julien, All,

On 1/10/24 21:51, Julien Olivain wrote:
> Commit 78e8f383 "configs/imx8mmpico: bump bsp components to version
> tn-kirkstone_5.15.71-2.2.0" bumped components, but forgot to add
> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y.
> 
> This commit adds it to the defconfig to fix the build.
> 
> Fixes:
> - https://gitlab.com/buildroot.org/buildroot/-/jobs/5858180248
> 
>      In file included from tools/imagetool.h:24,
>                       from tools/aisimage.c:7:
>      include/image.h:1166:12: fatal error: openssl/evp.h: No such file or directory
>       1166 | #  include <openssl/evp.h>
>            |            ^~~~~~~~~~~~~~~
> 
> Signed-off-by: Julien Olivain <ju.o at free.fr>
> ---
> Change v1 -> v2:
> - Regenerated the patch, to fix a corrupted patch context.
> ---
>   configs/imx8mmpico_defconfig | 1 +
>   1 file changed, 1 insertion(+)

I confirm that this patch fixes the build error mentioned:

Tested-By: Sébastien Szymanski <sebastien.szymanski at armadeus.com>

Regards,

> 
> diff --git a/configs/imx8mmpico_defconfig b/configs/imx8mmpico_defconfig
> index c402ea675d..711cdeb390 100644
> --- a/configs/imx8mmpico_defconfig
> +++ b/configs/imx8mmpico_defconfig
> @@ -28,6 +28,7 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
>   BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,u-boot-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/u-boot-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz"
>   BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pico-imx8mm"
>   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

-- 
Sébastien Szymanski, Armadeus Systems
Software engineer




More information about the buildroot mailing list