mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
tpm-tools: add native support
V2: - drop 1.0 from PV Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@ SECTION = "tpm"
|
||||
LICENSE = "CPL-1.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=059e8cd6165cb4c31e351f2b69388fd9"
|
||||
DEPENDS = "libtspi openssl"
|
||||
DEPENDS_class-native = "trousers-native"
|
||||
|
||||
SRC_URI += " \
|
||||
http://downloads.sourceforge.net/project/trousers/${BPN}/${PV}/${BP}.tar.gz \
|
||||
@@ -20,3 +21,5 @@ SRC_URI[md5sum] = "85a978c4e03fefd4b73cbeadde7c4d0b"
|
||||
SRC_URI[sha256sum] = "66eb4ff095542403db6b4bd4b574e8a5c08084fe4e9e5aa9a829ee84e20bea83"
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
23
recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb
Normal file
23
recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "Tools for TPM2."
|
||||
DESCRIPTION = "tpm2.0-tools"
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=91b7c548d73ea16537799e8060cea819"
|
||||
SECTION = "tpm"
|
||||
|
||||
DEPENDS = "tpm2.0-tss openssl curl"
|
||||
|
||||
SRCREV = "c924cc8ca752e5af6a829f893c6be4b185d56e99"
|
||||
|
||||
SRC_URI = "git://github.com/01org/tpm2.0-tools.git;protocol=git;branch=master;name=tpm2.0-tools;destsuffix=tpm2.0-tools"
|
||||
|
||||
S = "${WORKDIR}/tpm2.0-tools"
|
||||
|
||||
PV = "git${SRCPV}"
|
||||
|
||||
inherit autotools-brokensep pkgconfig
|
||||
|
||||
do_configure () {
|
||||
cd ${S}
|
||||
./bootstrap --force
|
||||
./configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
|
||||
}
|
||||
Reference in New Issue
Block a user