diff options
author | Thomas Perrot <thomas.perrot@bootlin.com> | 2024-09-04 10:55:50 +0200 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-09-04 12:07:27 +0000 |
commit | 53aaa074aa9042a699ac6eed2e563238bbb306c8 (patch) | |
tree | 7496d2940c142d424ee2ba8421658d579840645b | |
parent | 381f2d83627ec5c82168006cf1fe68d83e7d9ca9 (diff) | |
download | meta-freescale-53aaa074aa9042a699ac6eed2e563238bbb306c8.tar.gz |
imx-secure-enclave: add the lf-6.6.3-1.0.0 recipe
This library allows the use of the EdgeLock secure Enclave (ELE)
from Linux userspace.
Moreover, this library is a build dependency of i.MX Security
Middleware Library.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
(cherry picked from commit 639ca90853f694cde2a15093127bf3a3c1b6d9f1)
-rw-r--r-- | recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb new file mode 100644 index 00000000..b065fc55 --- /dev/null +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "NXP i.MX Secure Enclave Userspace Library" | ||
2 | DESCRIPTION = "NXP i.MX Secure Enclave Userspace Library" | ||
3 | SECTION = "base" | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" | ||
7 | |||
8 | DEPENDS = "openssl" | ||
9 | |||
10 | inherit systemd | ||
11 | |||
12 | SRC_URI = "git://github.com/NXP/imx-secure-enclave.git;protocol=https;branch=lf-6.6.3_1.0.0" | ||
13 | SRCREV = "964affa2cb3f9f7fc85a6a18db60f9213f744495" | ||
14 | |||
15 | PV = "lf-6.6.3_1.0.0" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | EXTRA_OEMAKE += "PLAT=ele" | ||
20 | |||
21 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
22 | |||
23 | do_install () { | ||
24 | oe_runmake DESTDIR=${D} install | ||
25 | rm -rf ${D}/usr/share | ||
26 | } | ||
27 | |||
28 | SYSTEMD_AUTO_ENABLE = "disable" | ||
29 | SYSTEMD_SERVICE:${PN} = "nvm_daemon.service" | ||
30 | |||
31 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" | ||