arm-bsp/u-boot: enable OpenSSL engine stub API

u-boot/lib/rsa/rsa-sign.c uses the OpenSSL engine API, but this has been
removed from OpenSSL 4. Patches are being worked on upstream and the
recipe in oe-core has those patches, but for ease we can simply enable
the stub API to fix the build until this old recipe is removed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton authored and Jon Mason committed 2026-09-09 20:29:19 -04:00
1 parent b0ff16aba4
commit e54d151854
1 file changed
+5
@@ -5,3 +5,8 @@ DEPENDS += "bc-native dtc-native gnutls-native python3-pyelftools-native"
SRCREV = "e50b1e8715011def8aff1588081a2649a2c6cd47"
SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master"
# u-boot/lib/rsa/rsa-sign.c uses the OpenSSL engine API, but this has been removed
# from OpenSSL 4. Upstream u-boot has been fixed but we can enable the stub engine
# API in OpenSSL until this recipe is removed.
BUILD_CFLAGS += "-DOPENSSL_ENGINE_STUBS"