Denys

On 10/9/20 3:12 PM, Denys Dmytriyenko wrote:
From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
  .../recipes-security/optee/optee-os_git.bbappend   | 76 ----------------------
  1 file changed, 76 deletions(-)

diff --git a/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend 
b/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
index 8694554..677c6dd 100644
--- a/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
+++ b/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
@@ -5,79 +5,3 @@ SRC_URI = 
"git://git.ti.com/optee/ti-optee-os.git;branch=${BRANCH} \
  "
  BRANCH = "ti-optee-os"
  SRCREV = "199fca17b575d4c748c9c435e908a6ec9618c75a"
-
-do_compile() {
-    export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
-    oe_runmake all PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR}
-    ( 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 ${B}/$normfl.optee; \
-    )
-
-    if [ "${OPTEEPAGER}" = "y" ]; then
-#        oe_runmake clean PLATFORM=${OPTEEMACHINE} 
PLATFORM_FLAVOR=${OPTEEFLAVOR}
-        rm -rf out/
-        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 ${B}/$normfl-pager.optee; \
-        )
-    fi
-}
-
-do_compile_aarch64() {
-    oe_runmake all PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR}
-    ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \
-        cp tee-pager_v2.bin ${B}/bl32.bin; \
-        cp tee.elf ${B}/bl32.elf; \
-    )
-}
-
-do_compile_am65xx-hs-evm() {
-    export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
-    oe_runmake all PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR}
-    ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \
-        ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee-pager_v2.bin 
tee-pager.bin.signed; \
-        mv tee-pager.bin.signed ${B}/bl32.bin; \
-        cp tee.elf ${B}/bl32.elf; \
-    )
-}
-
-do_compile_j7-hs-evm() {
-    export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
-    oe_runmake all PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR}
-    ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \
-        ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee-pager_v2.bin 
tee-pager.bin.signed; \
-        mv tee-pager.bin.signed ${B}/bl32.bin; \
-        cp tee.elf ${B}/bl32.elf; \
-    )
-}
-
-do_install() {
-    #install core on boot directory
-    install -d ${D}/boot
-    install -m 644 ${B}/*.optee ${D}/boot || true
-    install -m 644 ${B}/bl32.bin ${D}/boot || true
-    install -m 644 ${B}/bl32.elf ${D}/boot || true
-
-    #install TA devkit
-    install -d ${D}/usr/include/optee/export-user_ta/
-    for f in  
${B}/out/arm-plat-${OPTEEOUTPUTMACHINE}/export-ta_${OPTEE_ARCH}/* ; do
-        cp -aR $f ${D}/usr/include/optee/export-user_ta/
-    done
-}
-
-do_deploy() {
-    install -d ${DEPLOYDIR}
-    install -m 644 ${B}/*.optee ${DEPLOYDIR} || true
-    install -m 644 ${B}/bl32.bin ${DEPLOYDIR} || true
-    install -m 644 ${B}/bl32.elf ${DEPLOYDIR} || true
-}
-
-FILES_${PN} = "/boot"
-SYSROOT_DIRS += "/boot"
-
-# This is needed for bl32.elf
-INSANE_SKIP_${PN} += "textrel"

Applied

Thanks

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to