Files
Trevor Woerner dc173c7a8d tpm2: update release recipes
tpm2-tss: 1.4.0 -> 2.0.0
tpm2-abrmd: 1.3.1 -> 2.0.1
tpm2-tools: 3.0.4 -> 3.1.1

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-08-03 10:49:00 +08:00

27 lines
632 B
BlitzBasic

include ${BPN}.inc
DEFAULT_PREFERENCE = "-1"
PVBASE := "${PV}"
PV = "${PVBASE}.${SRCPV}"
SRC_URI = "git://github.com/tpm2-software/${BPN}.git;protocol=git;branch=master;name=${BPN};destsuffix=${BPN}"
def version_git(d):
version = d.getVar("PREFERRED_VERSION_%s" % d.getVar('PN'))
if version is not None and "git" in version:
return d.getVar("AUTOREV")
else:
return "e105149f07c9b944f69599ab67cd8b018ad880d2"
SRCREV ?= '${@version_git(d)}'
S = "${WORKDIR}/${BPN}"
do_configure_prepend () {
# execute the bootstrap script
currentdir=$(pwd)
cd ${S}
AUTORECONF=true ./bootstrap
cd ${currentdir}
}