diff options
author | Lans Zhang <jia.zhang@windriver.com> | 2017-07-20 11:15:00 +0800 |
---|---|---|
committer | Lans Zhang <jia.zhang@windriver.com> | 2017-07-20 11:23:44 +0800 |
commit | 788b69e11b801c710798e760c30dd845e74b621a (patch) | |
tree | d98902508bbb15ca1a910a34ae1484dc36e949a7 | |
parent | 6fd899a8669c9b0f15bbeae9f62ad6c895cab186 (diff) | |
download | meta-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.bb | 21 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb | 27 |
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 @@ | |||
1 | SUMMARY = " \ | ||
2 | " | ||
3 | DESCRIPTION = " \ | ||
4 | " | ||
5 | SECTION = "tpm" | ||
6 | PR = "r0" | ||
7 | LICENSE = "PD" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
9 | DEPENDS = "libtspi" | ||
10 | |||
11 | S = "${WORKDIR}/${BPN}_${PV}" | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | http://twobit.us/${BPN}/${BPN}_${PV}.tar.bz2 \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "98d2a3b816e54bdb17fe97a4294928bc" | ||
18 | SRC_URI[sha256sum] = "0ee784b252537bde4e195bfdedb20efd01ccf106a2b86beae6c8c02b3f7b1470" | ||
19 | |||
20 | inherit autotools | ||
21 | B = "${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 @@ | |||
1 | SUMMARY = "Command line utility to extend hash of arbitrary data into a TPMs PCR." | ||
2 | SECTION = "security/tpm" | ||
3 | |||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
6 | |||
7 | DEPENDS = "libtspi" | ||
8 | |||
9 | PV = "0.1+git${SRCPV}" | ||
10 | |||
11 | SRC_URI = "\ | ||
12 | git://github.com/flihp/pcr-extend.git \ | ||
13 | " | ||
14 | SRCREV = "c02ad8f628b3d99f6d4c087b402fe31a40ee6316" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit autotools | ||
19 | |||
20 | do_compile() { | ||
21 | oe_runmake -C "${S}" | ||
22 | } | ||
23 | |||
24 | do_install() { | ||
25 | install -d "${D}${bindir}" | ||
26 | DESTDIR="${D}" oe_runmake install -C "${S}" | ||
27 | } | ||