From a96a0a758fa6b0d0e1f645b21a4f1aa749225580 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 8 Aug 2026 11:06:41 +0200 Subject: [PATCH] package/tpm2-tss: do not show comment when dependencies are not met Commit 5394df6400912efa7da4f97c7ea68a81a9f77c1d ("package/tpm2-tss: add Mbed-TLS crypto backend support") added a dependency to BR2_PACKAGE_TPM2_TSS_FAPI, and a comment about this dependency. However, the comment is shown even if other architecture-related dependencies are not met. This commit fixes that by only displaying the comment when relevant, i.e when BR2_TOOLCHAIN_HAS_SYNC_4. Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain --- package/tpm2-tss/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/tpm2-tss/Config.in b/package/tpm2-tss/Config.in index 91337ce48d..f4bd8c3cdb 100644 --- a/package/tpm2-tss/Config.in +++ b/package/tpm2-tss/Config.in @@ -56,6 +56,7 @@ config BR2_PACKAGE_TPM2_TSS_FAPI https://trustedcomputinggroup.org/wp-content/uploads/TSS_JSON_Policy_v0.7_r04_pubrev.pdf comment "FAPI not supported with Mbed TLS backend" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_MBEDTLS endif