summaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm2
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2026-05-07 10:39:01 +0200
committerScott Murray <scott.murray@konsulko.com>2026-05-17 17:44:55 +0300
commitcdb4e444acbb2b9df467d716241a206c9ea6d3b0 (patch)
treed961ae59359faf9d7ffd157de2aa02e298bf1959 /meta-tpm/recipes-tpm2
parent921b75fa4aceaeeef388acdd1a3a8e35b5afc4cc (diff)
downloadmeta-security-cdb4e444acbb2b9df467d716241a206c9ea6d3b0.tar.gz
tpm2-tools: make efivar optional
Previous commit made this a hard dependency because it's autodetected. Instead of that, make it configurable so it can be disabled (roughtly equivalent to behavior before that commit). Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'meta-tpm/recipes-tpm2')
-rw-r--r--meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb
index fec5e1c..e1a0c5d 100644
--- a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb
+++ b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" 4LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3"
5SECTION = "tpm" 5SECTION = "tpm"
6 6
7DEPENDS = "tpm2-tss openssl curl efivar" 7DEPENDS = "tpm2-tss openssl curl"
8 8
9SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz" 9SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz"
10 10
@@ -14,4 +14,7 @@ UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases"
14 14
15inherit autotools pkgconfig bash-completion 15inherit autotools pkgconfig bash-completion
16 16
17PACKAGECONGIG ??= "efivar"
18PACKAGECONFIG[efivar] = "--with-efivar,--without-efivar,efivar"
19
17BBCLASSEXTEND = "native nativesdk" 20BBCLASSEXTEND = "native nativesdk"