OPTEE: add OPENSSL_MODULES environment variable

Due to the openssl update to 3.0, libcrypto request to have
OPENSSL_MODULES variables set on cross-compilation.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
This commit is contained in:
Christophe Priouzeau 2022-05-02 11:59:22 +02:00
parent f53ee4e24c
commit 99414cdd9a
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ do_configure:prepend(){
}
do_compile() {
unset -v CFLAGS CPPFLAGS LDFLAGS LDADD
export CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_HOST}"
export OPENSSL_MODULES=${STAGING_LIBDIR_NATIVE}/ossl-modules/
if [ -n "${OPTEE_CONF}" ]; then
for conf in ${OPTEE_CONF}; do
for soc in ${STM32MP_SOC_NAME}; do