diff --git a/meta-lmp-base/recipes-security/optee/fio-se05x-cli_git.bb b/meta-lmp-base/recipes-security/optee/fio-se05x-cli_git.bb new file mode 100644 index 0000000000..27da838762 --- /dev/null +++ b/meta-lmp-base/recipes-security/optee/fio-se05x-cli_git.bb @@ -0,0 +1,21 @@ +SUMMARY = "Foundries.io NXP SE05X Secure Element CLI" +HOMEPAGE = "https://github.com/foundriesio/fio-se05x-cli" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" + +DEPENDS = "optee-os-tadevkit optee-client openssl" + +SRC_URI = "git://github.com/foundriesio/fio-se05x-cli.git;protocol=https;branch=main" +SRCREV = "998098c1b1f8b6fa9b08a5e680f4998598906da5" + +S = "${WORKDIR}/git" + +TEEC_EXPORT = "${STAGING_DIR_HOST}${prefix}" +EXTRA_OEMAKE = "TEEC_EXPORT=${TEEC_EXPORT}" + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/fio-se05x-cli ${D}${bindir} +} + +RDEPENDS:${PN} = "opensc"