As make clean is currently broken:
|   CLEAN   out/arm-plat-ti
| rmdir: failed to remove 'out/arm-plat-ti/ta/avb': No such file or
| directory
| Makefile:98: recipe for target 'clean' failed

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../recipes-security/optee/optee-os_git.bbappend             | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend 
b/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
index 40f251f2..8fc9cf32 100644
--- a/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
+++ b/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
@@ -19,7 +19,7 @@ ARMCORE_aarch64 = "CFG_ARM64_core=y ta-targets=ta_arm64"
 EXTRA_OEMAKE = "CROSS_COMPILE_core=${HOST_PREFIX} \
                 CROSS_COMPILE_ta_arm32=${HOST_PREFIX} \
                 CROSS_COMPILE_ta_arm64=${HOST_PREFIX} \
-                NOWERROR=1 \
+                NOWERROR=1 V=1 \
                 LIBGCC_LOCATE_CFLAGS=--sysroot=${STAGING_DIR_HOST} \
                 CFG_TEE_TA_LOG_LEVEL=0 \
                 CFG_TEE_CORE_LOG_LEVEL=2 \
@@ -44,7 +44,8 @@ do_compile() {
     )
 
     if [ "${OPTEEPAGER}" = "y" ]; then
-        oe_runmake clean PLATFORM=${OPTEEMACHINE} 
PLATFORM_FLAVOR=${OPTEEFLAVOR}
+#        oe_runmake clean PLATFORM=${OPTEEMACHINE} 
PLATFORM_FLAVOR=${OPTEEFLAVOR}
+        rm -rf out/
         oe_runmake all PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR} 
CFG_WITH_PAGER=y
         ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \
             ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee.bin 
tee.bin.signed; \
-- 
2.17.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to