[meta-arm,5/7] arm/optee-examples: cleanup recipe

Submitted by Ross Burton on Nov. 2, 2020, 3:33 p.m. | Patch ID: 178083

Details

Message ID 20201102153341.2844482-5-ross.burton@arm.com
State New
Headers show

Commit Message

Ross Burton Nov. 2, 2020, 3:33 p.m.
Clarify the license and clean up oe_runmake calls.

Change-Id: I6d0eb9aee895e3ed9de73ea14f11084c214ca5af
Signed-off-by: Ross Burton <ross.burton@arm.com>

---
 meta-arm/recipes-security/optee/optee-examples.inc | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

-- 
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1308): https://lists.yoctoproject.org/g/meta-arm/message/1308
Mute This Topic: https://lists.yoctoproject.org/mt/77983607/1003190
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta-arm/recipes-security/optee/optee-examples.inc b/meta-arm/recipes-security/optee/optee-examples.inc
index 7d12858..73193f5 100644
--- a/meta-arm/recipes-security/optee/optee-examples.inc
+++ b/meta-arm/recipes-security/optee/optee-examples.inc
@@ -2,8 +2,8 @@  SUMMARY = "OP-TEE examples"
 DESCRIPTION = "Open Portable Trusted Execution Environment - Sample Applications"
 HOMEPAGE = "https://github.com/linaro-swg/optee_examples"
 
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=cd95ab417e23b94f381dafc453d70c30"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cd95ab417e23b94f381dafc453d70c30"
 
 DEPENDS = "optee-client optee-os python3-pycryptodomex-native"
 
@@ -36,8 +36,7 @@  TEEC_EXPORT = "${STAGING_DIR_HOST}${prefix}"
 TA_DEV_KIT_DIR = "${STAGING_INCDIR}/optee/export-user_ta"
 
 do_compile() {
-    cd ${S}
-    oe_runmake
+    oe_runmake -C ${S}
 }
 do_compile[cleandirs] = "${B}"
 
@@ -52,4 +51,3 @@  FILES_${PN} += "${nonarch_base_libdir}/optee_armtz/"
 
 # Imports machine specific configs from staging to build
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-