[Buildroot] [PATCH] configs/sipeed_*_sdcard: Add dependency on host-openssl

Damien Le Moal damien.lemoal at opensource.wdc.com
Thu Oct 13 07:57:58 UTC 2022


On 2022/10/13 15:39, Thomas Petazzoni wrote:
> On Thu, 13 Oct 2022 13:16:16 +0900
> Damien Le Moal <damien.lemoal at opensource.wdc.com> wrote:
> 
>> Gitlab CI reported build failures for the sipeed RISC-V nommu boards
>> with the u-boot/sdcard enabled default configuration. The compilation
>> errors are related to the openssl/evp.h header file missing, e.g.:
>>
>> In file included from tools/imagetool.h:24,
>>                  from tools/fit_common.c:20:
>> include/image.h:1166:12: fatal error: openssl/evp.h: No such file or
>> directory
>>  1166 | #  include <openssl/evp.h>
>>       |            ^~~~~~~~~~~~~~~
>>
>> Fix this issue by adding BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the config
>> files so that host-openssl gets built as a dependency of U-Boot.
>>
>> Suggested-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>> Signed-off-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>
> 
> Thanks for the patch. Could you provide the links to the Gitlab CI
> failures that are being fixed by this, so that we can add them to the
> commit log when applying?

Done. I am not sure about the proper format though. I copied similar references
I saw in git log. Please let me know if this needs a special format.

Thanks !

> 
> Thanks a lot!
> 
> Thomas

-- 
Damien Le Moal
Western Digital Research




More information about the buildroot mailing list