From: "Denys Dmytriyenko" <denis@denix.org>
To: Ross Burton <ross@burtonini.com>
Cc: meta-arm@lists.yoctoproject.org
Subject: Re: [meta-arm] [PATCH 4/7] arm/optee-client: rewrite recipe
Date: Tue, 3 Nov 2020 20:18:07 -0500 [thread overview]
Message-ID: <20201104011807.GC19155@denix.org> (raw)
In-Reply-To: <20201102153341.2844482-4-ross.burton@arm.com>
On Mon, Nov 02, 2020 at 03:33:38PM +0000, Ross Burton wrote:
> The license is 2-clause BSD, so specify that precisely.
>
> No need to inherit python3native as it is not used.
>
> Instead of using the bare Makefile build, use CMake.
>
> Change-Id: I324f633428f10fdaabaa57b2f2561c2fdc847919
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> .../recipes-security/optee/optee-client.inc | 35 +++----------------
> 1 file changed, 5 insertions(+), 30 deletions(-)
>
> diff --git a/meta-arm/recipes-security/optee/optee-client.inc b/meta-arm/recipes-security/optee/optee-client.inc
> index d82392c..26f9724 100644
> --- a/meta-arm/recipes-security/optee/optee-client.inc
> +++ b/meta-arm/recipes-security/optee/optee-client.inc
> @@ -2,12 +2,10 @@ SUMMARY = "OP-TEE Client API"
> DESCRIPTION = "Open Portable Trusted Execution Environment - Normal World Client side of the TEE"
> HOMEPAGE = "https://www.op-tee.org/"
>
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=69663ab153298557a59c67a60a743e5b"
> +LICENSE = "BSD-2-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b"
>
> -require optee.inc
Was this a mistake?
> -
> -inherit python3native systemd update-rc.d
> +inherit systemd update-rc.d cmake
>
> SRC_URI = " \
> git://github.com/OP-TEE/optee_client.git \
> @@ -16,31 +14,11 @@ SRC_URI = " \
> "
>
> S = "${WORKDIR}/git"
> -B = "${WORKDIR}/build"
> -
> -EXTRA_OEMAKE = "O=${B}"
> -
> -do_compile() {
> - cd ${S}
> - oe_runmake
> -}
> -do_compile[cleandirs] = "${B}"
> -
> -do_install() {
> - cd ${S}
> - oe_runmake install
> -
> - install -D -p -m0755 ${B}/export/usr/sbin/tee-supplicant ${D}${sbindir}/tee-supplicant
>
> - install -D -p -m0644 ${B}/export/usr/lib/libteec.so.1.0 ${D}${libdir}/libteec.so.1.0
> - ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so
> - ln -sf libteec.so.1.0 ${D}${libdir}/libteec.so.1
> -
> - install -d ${D}${includedir}
> - install -p -m0644 ${B}/export/usr/include/*.h ${D}${includedir}
> +EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON"
>
> +do_install_append() {
> install -D -p -m0644 ${WORKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/tee-supplicant.service
> -
> install -D -p -m0755 ${WORKDIR}/tee-supplicant.sh ${D}${sysconfdir}/init.d/tee-supplicant
>
> sed -i -e s:@sysconfdir@:${sysconfdir}:g \
> @@ -52,8 +30,5 @@ do_install() {
> SYSTEMD_SERVICE_${PN} = "tee-supplicant.service"
>
> INITSCRIPT_PACKAGES = "${PN}"
> -
> INITSCRIPT_NAME_${PN} = "tee-supplicant"
> INITSCRIPT_PARAMS_${PN} = "start 10 1 2 3 4 5 . stop 90 0 6 ."
> -
> -
> --
> 2.25.1
>
>
>
>
next prev parent reply other threads:[~2020-11-04 1:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-02 15:33 [PATCH 1/7] arm/optee-os: improve sysroot lookup Ross Burton
2020-11-02 15:33 ` [PATCH 2/7] arm/optee-test: add bug links Ross Burton
2020-11-02 15:33 ` [PATCH 3/7] arm/optee-os: fix the optee-test build with GCC 10 Ross Burton
2020-11-02 15:33 ` [PATCH 4/7] arm/optee-client: rewrite recipe Ross Burton
2020-11-04 1:18 ` Denys Dmytriyenko [this message]
2020-11-04 11:39 ` [meta-arm] " Ross Burton
2020-11-02 15:33 ` [PATCH 5/7] arm/optee-examples: cleanup recipe Ross Burton
2020-11-02 15:33 ` [PATCH 6/7] arm/optee-os: " Ross Burton
2020-11-02 15:33 ` [PATCH 7/7] arm/optee: consolidate common variables Ross Burton
2020-11-04 1:18 ` [meta-arm] " Denys Dmytriyenko
2020-11-04 11:40 ` Ross Burton
2020-11-03 2:10 ` [meta-arm] [PATCH 1/7] arm/optee-os: improve sysroot lookup Jon Mason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201104011807.GC19155@denix.org \
--to=denis@denix.org \
--cc=meta-arm@lists.yoctoproject.org \
--cc=ross@burtonini.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.