From db50af1677a8b3b09ef55745c711f34dc3297fdb Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 14 Apr 2022 10:09:02 +0200 Subject: [PATCH] optee-os: fix build with OPTEEPAGER=y meta-arm commit e03b824d7824 ("arm/optee-os: cleanup recipe") changed the recipe's do_compile(), which broke the build of the am57xx-hs-evm and dra7xx-hs-evm machines. Adjust the .bbappend accordingly. Signed-off-by: Matthias Schiffer Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend index f9660bfe..5af57e16 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +++ b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend @@ -20,8 +20,8 @@ optee_sign_legacyhs() { ) if [ "${OPTEEPAGER}" = "y" ]; then - oe_runmake clean - oe_runmake all CFG_TEE_TA_LOG_LEVEL=0 CFG_WITH_PAGER=y + oe_runmake -C ${S} clean + oe_runmake -C ${S} all CFG_TEE_TA_LOG_LEVEL=0 CFG_WITH_PAGER=y ( cd ${B}/core/; \ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee.bin tee.bin.signed; \ normfl=`echo ${OPTEEFLAVOR} | tr "_" "-"`