Skip to content

Commit f3905ee

Browse files
committed
build: imporve optee_example install script.
Signed-off-by: guibing <guibing@nucleisys.com>
1 parent 11dc7a7 commit f3905ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,9 @@ optee_example: $(target_gcc) $(optee_example_srcdir) optee_client optee_os
471471
$(MAKE) -C $(optee_example_wrkdir) HOST_CROSS_COMPILE=$(CROSS_COMPILE) TEEC_EXPORT=$(optee_client_export) --no-builtin-variables TA_DEV_KIT_DIR=$(optee_os_export) MARCH=$(ISA) MABI=$(ABI)
472472
#copy optee example ca,ta,plugin
473473
if ls $(optee_example_cadir)/* >/dev/null 2>&1 ;then cp -af $(optee_example_cadir)/* $(buildroot_initramfs_sysroot)/usr/bin; fi
474+
mkdir -p $(buildroot_initramfs_sysroot)/lib/optee_armtz && \
474475
if ls $(optee_example_tadir)/* >/dev/null 2>&1 ;then cp -af $(optee_example_tadir)/* $(buildroot_initramfs_sysroot)/lib/optee_armtz/; fi
476+
mkdir -p $(buildroot_initramfs_sysroot)/usr/lib/tee-supplicant/plugins && \
475477
if ls $(optee_example_plugindir)/*.plugin >/dev/null 2>&1 ;then cp -af $(optee_example_plugindir)/*.plugin $(buildroot_initramfs_sysroot)/usr/lib/tee-supplicant/plugins/; fi
476478

477479
# 3th level optee_benchmark build

0 commit comments

Comments
 (0)