pcr-extend: update to the latest and code style fixup

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
Lans Zhang
2017-07-20 11:15:00 +08:00
parent 6fd899a866
commit 788b69e11b
2 changed files with 27 additions and 21 deletions
@@ -1,21 +0,0 @@
SUMMARY = " \
"
DESCRIPTION = " \
"
SECTION = "tpm"
PR = "r0"
LICENSE = "PD"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "libtspi"
S = "${WORKDIR}/${BPN}_${PV}"
SRC_URI += " \
http://twobit.us/${BPN}/${BPN}_${PV}.tar.bz2 \
"
SRC_URI[md5sum] = "98d2a3b816e54bdb17fe97a4294928bc"
SRC_URI[sha256sum] = "0ee784b252537bde4e195bfdedb20efd01ccf106a2b86beae6c8c02b3f7b1470"
inherit autotools
B = "${WORKDIR}/${BPN}_${PV}"
@@ -0,0 +1,27 @@
SUMMARY = "Command line utility to extend hash of arbitrary data into a TPMs PCR."
SECTION = "security/tpm"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "libtspi"
PV = "0.1+git${SRCPV}"
SRC_URI = "\
git://github.com/flihp/pcr-extend.git \
"
SRCREV = "c02ad8f628b3d99f6d4c087b402fe31a40ee6316"
S = "${WORKDIR}/git"
inherit autotools
do_compile() {
oe_runmake -C "${S}"
}
do_install() {
install -d "${D}${bindir}"
DESTDIR="${D}" oe_runmake install -C "${S}"
}