aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-03-21 08:17:49 -0700
committerArmin Kuster <akuster808@gmail.com>2019-03-23 09:15:39 -0700
commit30699d6baee86bc6fda8a2b68e2e5d87fd01bdab (patch)
tree8b27bf0f30654c49f27f586d4c23d74ea21834df
parent09366d63fe3fb68ef3afada4da3bcba6a2f4aaa6 (diff)
downloadmeta-security-30699d6baee86bc6fda8a2b68e2e5d87fd01bdab.tar.gz
meta-security-30699d6baee86bc6fda8a2b68e2e5d87fd01bdab.tar.bz2
meta-security-30699d6baee86bc6fda8a2b68e2e5d87fd01bdab.zip
ibmswtpm2: Add new recipe
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1332.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1332.bb b/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1332.bb
new file mode 100644
index 0000000..a6068e6
--- /dev/null
+++ b/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_1332.bb
@@ -0,0 +1,24 @@
+SUMMARY = "IBM's Software TPM 2.0"
+
+LICENSE = "BSD"
+SECTION = "securty/tpm"
+LIC_FILES_CHKSUM = "file://../LICENSE;md5=1e023f61454ac828b4aa1bc4293f7d5f"
+
+SRC_URI = "https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1332.tar.gz"
+SRC_URI[md5sum] = "0ab34a655b4e09812d7ada19746af4f9"
+SRC_URI[sha256sum] = "8e8193af3d11d9ff6a951dda8cd1f4693cb01934a8ad7876b84e92c6148ab0fd"
+
+DEPENDS = "openssl"
+
+S = "${WORKDIR}/src"
+
+LDFLAGS = "${LDFALGS}"
+
+do_compile () {
+ make CC='${CC}'
+}
+
+do_install () {
+ install -d ${D}/${bindir}
+ install -m 0755 tpm_server ${D}/${bindir}
+}