From 46b3f6781425b10322ca94437f8b088bfb85f259 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 2 Nov 2020 15:33:39 +0000 Subject: [PATCH] arm/optee-examples: cleanup recipe Clarify the license and clean up oe_runmake calls. Change-Id: I6d0eb9aee895e3ed9de73ea14f11084c214ca5af Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/recipes-security/optee/optee-examples.inc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/meta-arm/recipes-security/optee/optee-examples.inc b/meta-arm/recipes-security/optee/optee-examples.inc index 7d128587..73193f51 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}" -