summaryrefslogtreecommitdiffstats
path: root/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb
blob: 43f2650096db34f8ade0af44c68c791df095614a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
include ${BPN}.inc

DEFAULT_PREFERENCE = "-1"

DEPENDS += "tpm2-tss libtss2 libtss2-mu libtss2-tcti-device libtss2-tcti-mssim"

PVBASE := "${PV}"
PV = "${PVBASE}.${SRCPV}"

SRC_URI += "git://github.com/01org/${BPN}.git;protocol=git;branch=master;name=${BPN};destsuffix=${BPN}"

SRCREV = "${AUTOREV}"

S = "${WORKDIR}/${BPN}"

do_configure_prepend () {
	# execute the bootstrap script
	currentdir=$(pwd)
	cd ${S}
	AUTORECONF=true ./bootstrap
	cd ${currentdir}
}

RDEPENDS_${PN} += "tpm2-tss"