optee-os: add handling of OPTEE pager config
PATCH 1/1 optee-os: add handling of OPTEE pager config
Requires separate build with enabled config option and install under different name.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/recipes-security/optee/optee-os_git.bbappend | 10 ++++++++++ 1 file changed, 10 insertions(+)
meta-arago-distro/recipes-security/optee/optee-os_git.bbappend +10 -0
@@ -29,6 +29,16 @@ do_compile() { normfl=`echo ${OPTEEFLAVOR} | tr "_" "-"` mv tee.bin.signed $normfl.optee; \ ) + + if [ "${OPTEEPAGER}" = "y" ]; then + oe_runmake clean PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR} + 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; \ + normfl=`echo ${OPTEEFLAVOR} | tr "_" "-"` + mv tee.bin.signed $normfl-pager.optee; \ + ) + fi } do_install() {
Signature · 1 line
2.7.4