package/tpm2-tss: Correctly depend on util-linux-libs for fapi support

tpm2-tss is a dependency of systemd, which when enabled becomes a
dependency of util-linux.

tpm2-tss only really wants libuuid, so depend on util-linux-libs instead
breaking the dependency cycle.

Signed-off-by: John Ernberg <j@j-ernberg.se>
[Arnout: also select UTIL_LINUX_LIBS in Config.in]
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
John Ernberg
2026-05-10 21:38:26 +02:00
committed by Arnout Vandecappelle
parent 6fda245fea
commit c537913fb9
2 changed files with 2 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ config BR2_PACKAGE_TPM2_TSS_FAPI
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBS
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
This option allows to enable Feature API (FAPI). Feature

View File

@@ -33,7 +33,7 @@ TPM2_TSS_CONF_OPTS = \
TPM2_TSS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
ifeq ($(BR2_PACKAGE_TPM2_TSS_FAPI),y)
TPM2_TSS_DEPENDENCIES += json-c libcurl util-linux
TPM2_TSS_DEPENDENCIES += json-c libcurl util-linux-libs
TPM2_TSS_CONF_OPTS += --enable-fapi
else
TPM2_TSS_CONF_OPTS += --disable-fapi --disable-policy