diff mbox series

[1/1] configs/visionfive2: uboot needs openssl

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

Commit Message

Julien Olivain May 24, 2024, 9:13 p.m. UTC
The defconfig fails in uboot build, with output:

    scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
       25 | #include <openssl/opensslv.h>
          |          ^~~~~~~~~~~~~~~~~~~~

This commit fixes the issue by adding
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the defconfig.

Fixes:
- https://gitlab.com/buildroot.org/buildroot/-/jobs/6929002318

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 configs/visionfive2_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Korsgaard May 25, 2024, 9:43 a.m. UTC | #1
>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes:

 > The defconfig fails in uboot build, with output:
 >     scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
 >        25 | #include <openssl/opensslv.h>
 >           |          ^~~~~~~~~~~~~~~~~~~~

 > This commit fixes the issue by adding
 > BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the defconfig.

 > Fixes:
 > - https://gitlab.com/buildroot.org/buildroot/-/jobs/6929002318

 > Signed-off-by: Julien Olivain <ju.o@free.fr>

Committed, thanks.
diff mbox series

Patch

diff --git a/configs/visionfive2_defconfig b/configs/visionfive2_defconfig
index bb8ab082af6..dae9608eeb1 100644
--- a/configs/visionfive2_defconfig
+++ b/configs/visionfive2_defconfig
@@ -30,6 +30,7 @@  BR2_TARGET_UBOOT_BOARD_DEFCONFIG="starfive_visionfive2"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_NEEDS_OPENSBI=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 # BR2_TARGET_UBOOT_FORMAT_BIN is not set
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb"