OPENSSL: force OPENSSL_MODULES variable for sdk

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I182aac91d6ec306cf1ceda37aa5c77b8aa7779a0
This commit is contained in:
Christophe Priouzeau 2022-06-06 15:16:49 +02:00 committed by bernard PUEL
parent 23e8ddc745
commit e39ad28a81
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
do_install:append:class-nativesdk() {
echo "export OPENSSL_MODULES=\"\$OECORE_NATIVE_SYSROOT/usr/lib/ossl-modules/\"" >> ${D}${SDKPATHNATIVE}/environment-setup.d/openssl.sh
}