mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-28 04:50:36 -09:00
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:
committed by
Arnout Vandecappelle
parent
6fda245fea
commit
c537913fb9
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user