Skip to content

Commit 57941b0

Browse files
committed
build: imporve optee_example install script.
Signed-off-by: guibing <[email protected]>
1 parent 5466cde commit 57941b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,12 +467,13 @@ optee_test: $(target_gcc) optee_client optee_os $(buildroot_initramfs_sysroot)
467467

468468
# 3th level optee_example build
469469
optee_example: $(target_gcc) $(optee_example_srcdir) optee_client optee_os
470-
mkdir -p $(buildroot_initramfs_sysroot)/lib/optee_armtz
471470
cp -af $(optee_example_srcdir) $(wrkdir)/optee/
472471
$(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)
473472
#copy optee example ca,ta,plugin
474473
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 && \
475475
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 && \
476477
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
477478

478479
# 3th level optee_benchmark build

0 commit comments

Comments
 (0)