From 166d5ad78731bc9747baf41ca4bc6da91f884242 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Wed, 22 Jan 2020 10:53:13 +0000 Subject: optee[-imx]: update recipes to use python3 Since Python2 is dropped in oe-core and classes are not available anymore, optee components should be updated to utilize python3. optee-os recipe received an additionl patch to re-target the Python version in the source tree to python3. Signed-off-by: Andrey Zhizhikin --- recipes-security/optee-imx/optee-os_3.2.0.imx.bb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'recipes-security/optee-imx/optee-os_3.2.0.imx.bb') diff --git a/recipes-security/optee-imx/optee-os_3.2.0.imx.bb b/recipes-security/optee-imx/optee-os_3.2.0.imx.bb index c5328c9c..be07f0ef 100644 --- a/recipes-security/optee-imx/optee-os_3.2.0.imx.bb +++ b/recipes-security/optee-imx/optee-os_3.2.0.imx.bb @@ -6,12 +6,16 @@ HOMEPAGE = "http://www.optee.org/" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b" -inherit deploy pythonnative autotools -DEPENDS = "python-pycrypto-native u-boot-mkimage-native" +inherit deploy python3native autotools +DEPENDS = "python3-pycrypto-native u-boot-mkimage-native" SRCBRANCH = "imx_4.19.35_1.1.0" OPTEE_OS_SRC ?= "git://source.codeaurora.org/external/imx/imx-optee-os.git;protocol=https" -SRC_URI = "${OPTEE_OS_SRC};branch=${SRCBRANCH}" +SRC_URI = "\ + ${OPTEE_OS_SRC};branch=${SRCBRANCH} \ + file://0001-scripts-update-scripts-to-use-python3.patch \ +" + SRCREV = "6a22e6e8a2840b245808527679f3397b7e620b3c" S = "${WORKDIR}/git" -- cgit v1.2.3-54-g00ecf