[Buildroot] [PATCH 1/4] configs/ls1028ardb: linux needs host-openssl
Arnout Vandecappelle
arnout at rnout.be
Wed Apr 16 21:37:22 UTC 2025
On 06/04/2025 18:26, Julien Olivain wrote:
> Since Buildroot commit [1] updating the defconfig to use Kernel 6.6.x
> series, the build can fail with error:
>
> certs/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
>
> The issue is generally masked by the build order, as
> arm-trusted-firmware selects BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
> which requires host-openssl.
>
> The issue can be reproduced in the Buildroot Docker reference image,
> using the commands:
>
> utils/docker-run
> make ls1028ardb_defconfig
> make linux
>
> This commit fixes the issue by explicitly adding
> BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y to the defconfig.
>
> [1] https://gitlab.com/buildroot.org/buildroot/-/commit/7cbc240ac2c3a5d7cbbec9826fb99854bdd156a7
>
> Signed-off-by: Julien Olivain <ju.o at free.fr>
Applied series to 2025.02.x and 2024.11.x (only first two), thanks.
Regards,
Arnout
> ---
> Note: I found those issues while reviewing and testing patches in:
> https://patchwork.ozlabs.org/project/buildroot/list/?series=450442
> So I recommend to apply this series first.
> ---
> configs/ls1028ardb_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configs/ls1028ardb_defconfig b/configs/ls1028ardb_defconfig
> index 0d1843bf5f..7b24a41cd9 100644
> --- a/configs/ls1028ardb_defconfig
> +++ b/configs/ls1028ardb_defconfig
> @@ -18,6 +18,7 @@ BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/lsdk.con
> BR2_LINUX_KERNEL_DTS_SUPPORT=y
> BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-rdb"
> BR2_LINUX_KERNEL_INSTALL_TARGET=y
> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> BR2_PACKAGE_QORIQ_CADENCE_DP_FIRMWARE=y
> BR2_TARGET_ROOTFS_EXT2=y
> BR2_TARGET_ROOTFS_EXT2_4=y
More information about the buildroot
mailing list