mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
boot/optee-os: install trusted shared libraries
Install generated trusted shared libraries in the target file system next to the trusted applications. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
6ad03fd403
commit
b978a2a1e7
@ -70,16 +70,16 @@ config BR2_TARGET_OPTEE_OS_SDK
|
|||||||
installed in the staging directory /lib/optee.
|
installed in the staging directory /lib/optee.
|
||||||
|
|
||||||
config BR2_TARGET_OPTEE_OS_SERVICES
|
config BR2_TARGET_OPTEE_OS_SERVICES
|
||||||
bool "Build service TAs"
|
bool "Build service TAs and libs"
|
||||||
default y
|
default y
|
||||||
select BR2_TARGET_OPTEE_OS_CORE
|
select BR2_TARGET_OPTEE_OS_CORE
|
||||||
help
|
help
|
||||||
This option installs the service trusted applications built
|
This option installs the service trusted applications and
|
||||||
from OP-TEE OS source tree. These are installed in the target
|
trusted shared libraries built from OP-TEE OS source tree.
|
||||||
/lib/optee_armtz directory as other trusted applications.
|
These are installed in target /lib/optee_armtz directory
|
||||||
At runtime OP-TEE OS can load trusted applications from this
|
as other trusted applications. At runtime OP-TEE OS can
|
||||||
non-secure filesystem/directory into the secure world for
|
load these from this non-secure filesystem/directory into
|
||||||
execution.
|
the secure world for execution.
|
||||||
|
|
||||||
config BR2_TARGET_OPTEE_OS_PLATFORM
|
config BR2_TARGET_OPTEE_OS_PLATFORM
|
||||||
string "Target platform (mandatory)"
|
string "Target platform (mandatory)"
|
||||||
|
@ -79,6 +79,9 @@ define OPTEE_OS_INSTALL_TARGET_CMDS
|
|||||||
$(if $(wildcard $(@D)/$(OPTEE_OS_BUILDDIR_OUT)/ta/*/*.ta),
|
$(if $(wildcard $(@D)/$(OPTEE_OS_BUILDDIR_OUT)/ta/*/*.ta),
|
||||||
$(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz \
|
$(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz \
|
||||||
$(@D)/$(OPTEE_OS_BUILDDIR_OUT)/ta/*/*.ta)
|
$(@D)/$(OPTEE_OS_BUILDDIR_OUT)/ta/*/*.ta)
|
||||||
|
$(if $(wildcard $(@D)/$(OPTEE_OS_LOCAL_SDK)/lib/*.ta),
|
||||||
|
$(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz \
|
||||||
|
$(@D)/$(OPTEE_OS_LOCAL_SDK)/lib/*.ta)
|
||||||
endef
|
endef
|
||||||
endif # BR2_TARGET_OPTEE_OS_SERVICES
|
endif # BR2_TARGET_OPTEE_OS_SERVICES
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user