diff options
author | Armin Kuster <akuster808@gmail.com> | 2016-10-12 22:55:53 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-11-01 09:03:15 -0700 |
commit | df4b3ae1b80df3b92788781a766546a12b2eec91 (patch) | |
tree | 69015036c18c67627495422cf0f4f7f985ff4b50 | |
parent | 708bf494398a22f66464798b87812fe04da5aa59 (diff) | |
download | meta-security-df4b3ae1b80df3b92788781a766546a12b2eec91.tar.gz |
tpm-tools: add native support
V2:
- drop 1.0 from PV
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-tpm/tpm-tools/tpm-tools_1.3.8.bb | 3 | ||||
-rw-r--r-- | recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb | 23 |
2 files changed, 26 insertions, 0 deletions
diff --git a/recipes-tpm/tpm-tools/tpm-tools_1.3.8.bb b/recipes-tpm/tpm-tools/tpm-tools_1.3.8.bb index 5645976..99ea8ee 100644 --- a/recipes-tpm/tpm-tools/tpm-tools_1.3.8.bb +++ b/recipes-tpm/tpm-tools/tpm-tools_1.3.8.bb | |||
@@ -9,6 +9,7 @@ SECTION = "tpm" | |||
9 | LICENSE = "CPL-1.0" | 9 | LICENSE = "CPL-1.0" |
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=059e8cd6165cb4c31e351f2b69388fd9" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=059e8cd6165cb4c31e351f2b69388fd9" |
11 | DEPENDS = "libtspi openssl" | 11 | DEPENDS = "libtspi openssl" |
12 | DEPENDS_class-native = "trousers-native" | ||
12 | 13 | ||
13 | SRC_URI += " \ | 14 | SRC_URI += " \ |
14 | http://downloads.sourceforge.net/project/trousers/${BPN}/${PV}/${BP}.tar.gz \ | 15 | http://downloads.sourceforge.net/project/trousers/${BPN}/${PV}/${BP}.tar.gz \ |
@@ -20,3 +21,5 @@ SRC_URI[md5sum] = "85a978c4e03fefd4b73cbeadde7c4d0b" | |||
20 | SRC_URI[sha256sum] = "66eb4ff095542403db6b4bd4b574e8a5c08084fe4e9e5aa9a829ee84e20bea83" | 21 | SRC_URI[sha256sum] = "66eb4ff095542403db6b4bd4b574e8a5c08084fe4e9e5aa9a829ee84e20bea83" |
21 | 22 | ||
22 | inherit autotools gettext | 23 | inherit autotools gettext |
24 | |||
25 | BBCLASSEXTEND = "native" | ||
diff --git a/recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb b/recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb new file mode 100644 index 0000000..b7026aa --- /dev/null +++ b/recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Tools for TPM2." | ||
2 | DESCRIPTION = "tpm2.0-tools" | ||
3 | LICENSE = "BSD" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=91b7c548d73ea16537799e8060cea819" | ||
5 | SECTION = "tpm" | ||
6 | |||
7 | DEPENDS = "tpm2.0-tss openssl curl" | ||
8 | |||
9 | SRCREV = "c924cc8ca752e5af6a829f893c6be4b185d56e99" | ||
10 | |||
11 | SRC_URI = "git://github.com/01org/tpm2.0-tools.git;protocol=git;branch=master;name=tpm2.0-tools;destsuffix=tpm2.0-tools" | ||
12 | |||
13 | S = "${WORKDIR}/tpm2.0-tools" | ||
14 | |||
15 | PV = "git${SRCPV}" | ||
16 | |||
17 | inherit autotools-brokensep pkgconfig | ||
18 | |||
19 | do_configure () { | ||
20 | cd ${S} | ||
21 | ./bootstrap --force | ||
22 | ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | ||
23 | } | ||