diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-01-10 08:34:15 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 08:34:15 -0300 |
commit | af4f812d7a899f96f3aba7b6d66f78cb1a6fec8f (patch) | |
tree | 01db895666fe950e08da343622baccadd24f85dc /recipes-security/optee-imx/optee-client_3.19.0.imx.bb | |
parent | bfc79d62e3048173f893b63f2a7b0484f3e670fb (diff) | |
parent | bf2019fea5e4723c3674d71607b883ff6f737c7a (diff) | |
download | meta-freescale-af4f812d7a899f96f3aba7b6d66f78cb1a6fec8f.tar.gz |
Merge pull request #1371 from Freescale/backport-1365-to-kirkstone
[Backport kirkstone] optee: Upgrade 3.17.0.imx to 3.19.0.imx
Diffstat (limited to 'recipes-security/optee-imx/optee-client_3.19.0.imx.bb')
-rw-r--r-- | recipes-security/optee-imx/optee-client_3.19.0.imx.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes-security/optee-imx/optee-client_3.19.0.imx.bb b/recipes-security/optee-imx/optee-client_3.19.0.imx.bb new file mode 100644 index 00000000..b0fb9178 --- /dev/null +++ b/recipes-security/optee-imx/optee-client_3.19.0.imx.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | # Copyright (C) 2017-2021 NXP | ||
2 | |||
3 | SUMMARY = "OPTEE Client libs" | ||
4 | HOMEPAGE = "http://www.optee.org/" | ||
5 | LICENSE = "BSD-2-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | git://github.com/nxp-imx/imx-optee-client.git;protocol=https;branch=${SRCBRANCH} \ | ||
10 | file://tee-supplicant.service" | ||
11 | SRCBRANCH = "lf-5.15.71_2.2.0" | ||
12 | SRCREV = "644022f8970c832a40be00747fcec70c7b5d488c" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | B = "${WORKDIR}/build" | ||
16 | |||
17 | inherit python3native systemd features_check pkgconfig | ||
18 | |||
19 | DEPENDS = "util-linux-libuuid" | ||
20 | |||
21 | REQUIRED_MACHINE_FEATURES = "optee" | ||
22 | |||
23 | SYSTEMD_SERVICE:${PN} = "tee-supplicant.service" | ||
24 | |||
25 | EXTRA_OEMAKE = " \ | ||
26 | -C ${S} O=${B} \ | ||
27 | " | ||
28 | |||
29 | do_install () { | ||
30 | oe_runmake -C ${S} install | ||
31 | |||
32 | install -D -p -m0644 ${B}/export/usr/lib/libteec.so.1.0.0 ${D}${libdir}/libteec.so.1.0.0 | ||
33 | ln -sf libteec.so.1.0.0 ${D}${libdir}/libteec.so.1 | ||
34 | ln -sf libteec.so.1.0.0 ${D}${libdir}/libteec.so | ||
35 | |||
36 | install -D -p -m0644 ${B}/export/usr/lib/libckteec.so.0.1.0 ${D}${libdir}/libckteec.so.0.1.0 | ||
37 | ln -sf libckteec.so.0.1.0 ${D}${libdir}/libckteec.so.0 | ||
38 | ln -sf libckteec.so.0.1.0 ${D}${libdir}/libckteec.so | ||
39 | |||
40 | install -D -p -m0755 ${B}/export/usr/sbin/tee-supplicant ${D}${bindir}/tee-supplicant | ||
41 | |||
42 | cp -a ${B}/export/usr/include ${D}${includedir} | ||
43 | |||
44 | sed -i -e s:/etc:${sysconfdir}:g -e s:/usr/bin:${bindir}:g ${WORKDIR}/tee-supplicant.service | ||
45 | install -D -p -m0644 ${WORKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/tee-supplicant.service | ||
46 | } | ||
47 | |||
48 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||