ti-securestore: Add recipe for TI secure storage
PATCH 1/1 ti-securestore: Add recipe for TI secure storage
- Provides implementation of a software token
Signed-off-by Sam Nelson <[email protected]>
--- .../ti-securestore/ti-securestore_git.bb | 40 ++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-securestore/ti-securestore_git.bb
meta-arago-extras/recipes-bsp/ti-securestore/ti-securestore_git.bb new file +40 -0
@@ -0,0 +1,40 @@ +DESCRIPTION = "TI Secure storage package" +LICENSE = "BSD-2-Clause | TI-BSD | Others" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ae4a61a55568199da668231022a684f9" +SECTION = "libs" +PRIORITY = "optional" + +mntdir = "/mnt" + +inherit autotools pkgconfig + +DEPENDS_${PN} = "openssl libdaemon" + +PV = "2.0.2" +PR = "r0" +BRANCH="master" +#Following commit corresponds to tag DEV.MCSDK-03.00.04.18 +SRCREV = "d71b45b2cf5df075bf2257d01f74b99e18e0e5e2" + +SRC_URI = "git://arago-project.org/git/projects/ti-softhsmv2.git;protocol=git;branch=${BRANCH}" + +S = "${WORKDIR}/git" + +INITSCRIPT_NAME = "softhsm-daemon.sh" +INITSCRIPT_PARAMS = "defaults 10" + +inherit update-rc.d + +FILES_${PN}-dev += "${libdir}/softhsm/*.la" +FILES_${PN} += "${libdir}/softhsm/*{SOLIBSDEV}" +FILES_${PN} += "${libdir}/softhsm/lib*${SOLIBS} ${mntdir}/*" +FILES_${PN}-dbg += "${libdir}/softhsm/.debug" +FILES_${PN}-static += "${libdir}/softhsm/*.a" + +do_install_append() { + install -d ${D}${mntdir}/securedbv0 + install -d ${D}${mntdir}/securedbv1 + + install -d ${D}${sysconfdir}/init.d/ + install -c -m 755 ${S}/src/bin/daemon/softhsm-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} +}
Signature · 1 line
1.7.9.5