mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-31 12:50:19 +00:00
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>
This commit is contained in:
committed by
Scott Murray
parent
8d6cbaceb3
commit
68d3c150e9
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3"
|
||||
SECTION = "tpm"
|
||||
|
||||
DEPENDS = "tpm2-tss openssl curl efivar"
|
||||
DEPENDS = "tpm2-tss openssl curl"
|
||||
|
||||
SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz"
|
||||
|
||||
@@ -14,4 +14,7 @@ UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases"
|
||||
|
||||
inherit autotools pkgconfig bash-completion
|
||||
|
||||
PACKAGECONGIG ??= "efivar"
|
||||
PACKAGECONFIG[efivar] = "--with-efivar,--without-efivar,efivar"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user