mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-12-15 23:17:24 +01:00
meta-bsp --> meta-imx-bsp meta-sdk --> meta-imx-sdk meta-ml --> meta-imx-ml meta-v2x --> meta-imx-v2x meta-cockpit-->meta-imx-cockpit Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
24 lines
694 B
PHP
24 lines
694 B
PHP
require optee-os-common-imx.inc
|
|
|
|
do_compile:arm() {
|
|
oe_runmake -C ${S} all uTee
|
|
}
|
|
|
|
do_install:append () {
|
|
# Install embedded TAs
|
|
install -d ${D}${nonarch_base_libdir}/optee_armtz/
|
|
install -m 444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/
|
|
}
|
|
|
|
do_deploy:append() {
|
|
cp ${B}/core/tee-raw.bin ${DEPLOYDIR}/${MLPREFIX}optee/tee.${PLATFORM_FLAVOR}.bin
|
|
ln -sf ${MLPREFIX}optee/tee.${PLATFORM_FLAVOR}.bin ${DEPLOYDIR}/tee.bin
|
|
}
|
|
|
|
do_deploy:append:arm() {
|
|
cp ${B}/core/uTee ${DEPLOYDIR}/${MLPREFIX}optee/uTee-${OPTEE_BIN_EXT}
|
|
ln -sf ${MLPREFIX}optee/uTee-${OPTEE_BIN_EXT} ${DEPLOYDIR}/uTee-${OPTEE_BIN_EXT}
|
|
}
|
|
|
|
FILES:${PN} += "${nonarch_base_libdir}/optee_armtz"
|