diff options
| author | Peter Marko <peter.marko@siemens.com> | 2026-05-07 10:39:01 +0200 |
|---|---|---|
| committer | Scott Murray <scott.murray@konsulko.com> | 2026-05-17 17:44:55 +0300 |
| commit | cdb4e444acbb2b9df467d716241a206c9ea6d3b0 (patch) | |
| tree | d961ae59359faf9d7ffd157de2aa02e298bf1959 /meta-tpm/recipes-tpm2 | |
| parent | 921b75fa4aceaeeef388acdd1a3a8e35b5afc4cc (diff) | |
| download | meta-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.bb | 5 |
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" | |||
| 4 | LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" | 4 | LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" |
| 5 | SECTION = "tpm" | 5 | SECTION = "tpm" |
| 6 | 6 | ||
| 7 | DEPENDS = "tpm2-tss openssl curl efivar" | 7 | DEPENDS = "tpm2-tss openssl curl" |
| 8 | 8 | ||
| 9 | SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz" | 9 | SRC_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 | ||
| 15 | inherit autotools pkgconfig bash-completion | 15 | inherit autotools pkgconfig bash-completion |
| 16 | 16 | ||
| 17 | PACKAGECONGIG ??= "efivar" | ||
| 18 | PACKAGECONFIG[efivar] = "--with-efivar,--without-efivar,efivar" | ||
| 19 | |||
| 17 | BBCLASSEXTEND = "native nativesdk" | 20 | BBCLASSEXTEND = "native nativesdk" |
