aboutsummaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm2/tpm2simulator/tpm2simulator_138.bb
blob: 866791c2918c2cd873d33c38dd2abd69937caf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUMMARY = "TPM 2.0 Simulator Extraction Script"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1415f7be284540b81d9d28c67c1a6b8b"

DEPENDS = "python"

SRCREV = "e45324eba268723d39856111e7933c5c76238481"
SRC_URI = "git://github.com/stwagnr/tpm2simulator.git"

S = "${WORKDIR}/git"
OECMAKE_SOURCEPATH = "${S}/cmake"

inherit native lib_package cmake

EXTRA_OECMAKE = " \
	-DCMAKE_BUILD_TYPE=Debug \
	-DSPEC_VERSION=138 \
"

do_configure_prepend () {
	sed -i 's/^SET = False/SET = True/' ${S}/scripts/settings.py 
}