Skip to content

Commit

Permalink
imx-secure-enclave: add the lf-6.6.3-1.0.0 recipe
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 639ca90)
  • Loading branch information
tprrt authored and github-actions[bot] committed Sep 4, 2024
1 parent 381f2d8 commit 53aaa07
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
SUMMARY = "NXP i.MX Secure Enclave Userspace Library"
DESCRIPTION = "NXP i.MX Secure Enclave Userspace Library"
SECTION = "base"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982"

DEPENDS = "openssl"

inherit systemd

SRC_URI = "git://github.com/NXP/imx-secure-enclave.git;protocol=https;branch=lf-6.6.3_1.0.0"
SRCREV = "964affa2cb3f9f7fc85a6a18db60f9213f744495"

PV = "lf-6.6.3_1.0.0"

S = "${WORKDIR}/git"

EXTRA_OEMAKE += "PLAT=ele"

TARGET_CC_ARCH += "${LDFLAGS}"

do_install () {
oe_runmake DESTDIR=${D} install
rm -rf ${D}/usr/share
}

SYSTEMD_AUTO_ENABLE = "disable"
SYSTEMD_SERVICE:${PN} = "nvm_daemon.service"

COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)"

0 comments on commit 53aaa07

Please sign in to comment.