summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLans Zhang <jia.zhang@windriver.com>2017-07-20 11:15:00 +0800
committerLans Zhang <jia.zhang@windriver.com>2017-07-20 11:23:44 +0800
commit788b69e11b801c710798e760c30dd845e74b621a (patch)
treed98902508bbb15ca1a910a34ae1484dc36e949a7
parent6fd899a8669c9b0f15bbeae9f62ad6c895cab186 (diff)
downloadmeta-secure-core-788b69e11b801c710798e760c30dd845e74b621a.tar.gz
pcr-extend: update to the latest and code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
-rw-r--r--meta-tpm/recipes-tpm/pcr-extend/pcr-extend_0.1.bb21
-rw-r--r--meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb27
2 files changed, 27 insertions, 21 deletions
diff --git a/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_0.1.bb b/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_0.1.bb
deleted file mode 100644
index 6f4611a..0000000
--- a/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_0.1.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1SUMMARY = " \
2 "
3DESCRIPTION = " \
4 "
5SECTION = "tpm"
6PR = "r0"
7LICENSE = "PD"
8LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
9DEPENDS = "libtspi"
10
11S = "${WORKDIR}/${BPN}_${PV}"
12
13SRC_URI += " \
14 http://twobit.us/${BPN}/${BPN}_${PV}.tar.bz2 \
15"
16
17SRC_URI[md5sum] = "98d2a3b816e54bdb17fe97a4294928bc"
18SRC_URI[sha256sum] = "0ee784b252537bde4e195bfdedb20efd01ccf106a2b86beae6c8c02b3f7b1470"
19
20inherit autotools
21B = "${WORKDIR}/${BPN}_${PV}"
diff --git a/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb b/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb
new file mode 100644
index 0000000..a534329
--- /dev/null
+++ b/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb
@@ -0,0 +1,27 @@
1SUMMARY = "Command line utility to extend hash of arbitrary data into a TPMs PCR."
2SECTION = "security/tpm"
3
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7DEPENDS = "libtspi"
8
9PV = "0.1+git${SRCPV}"
10
11SRC_URI = "\
12 git://github.com/flihp/pcr-extend.git \
13"
14SRCREV = "c02ad8f628b3d99f6d4c087b402fe31a40ee6316"
15
16S = "${WORKDIR}/git"
17
18inherit autotools
19
20do_compile() {
21 oe_runmake -C "${S}"
22}
23
24do_install() {
25 install -d "${D}${bindir}"
26 DESTDIR="${D}" oe_runmake install -C "${S}"
27}