From patchwork Mon Mar 20 03:38:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 21293 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B68FCC77B72 for ; Mon, 20 Mar 2023 03:39:39 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.6336.1679283570109052979 for ; Sun, 19 Mar 2023 20:39:30 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 7857D40CB4 for ; Mon, 20 Mar 2023 03:39:29 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IcXxU1zAvb7X for ; Mon, 20 Mar 2023 03:39:29 +0000 (UTC) Received: from mail.denix.org (pool-100-15-88-116.washdc.fios.verizon.net [100.15.88.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id DB2D940CBA for ; Mon, 20 Mar 2023 03:39:26 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id EB2A01637C5 for ; Sun, 19 Mar 2023 23:38:54 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@lists.yoctoproject.org Subject: [master][PATCH 18/53] optee-os-tadevkit: update to match optee-os Date: Mon, 20 Mar 2023 03:38:50 +0000 Message-Id: <20230320033925.1306823-19-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230320033925.1306823-1-denis@denix.org> References: <20230320033925.1306823-1-denis@denix.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 20 Mar 2023 03:39:39 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/16089 From: Denys Dmytriyenko This installs shared OPTEE-OS APIs and needs to match in order for latest client/test/examples to be able to build. Signed-off-by: Denys Dmytriyenko --- .../optee/optee-os-tadevkit_3.20.0.bb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb b/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb new file mode 100644 index 00000000..f2cc06d8 --- /dev/null +++ b/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb @@ -0,0 +1,24 @@ +require recipes-security/optee/optee-os_3.20.0.bb + +SUMMARY = "OP-TEE Trusted OS TA devkit" +DESCRIPTION = "OP-TEE TA devkit for build TAs" +HOMEPAGE = "https://www.op-tee.org/" + +DEPENDS += "python3-pycryptodome-native" + +do_install() { + #install TA devkit + install -d ${D}${includedir}/optee/export-user_ta/ + for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do + cp -aR $f ${D}${includedir}/optee/export-user_ta/ + done +} + +do_deploy() { + echo "Do not inherit do_deploy from optee-os." +} + +FILES:${PN} = "${includedir}/optee/" + +# Build paths are currently embedded +INSANE_SKIP:${PN}-dev += "buildpaths"