From: Fabrice Fontaine Date: Sun, 7 Feb 2021 09:19:29 +0000 (+0100) Subject: package/tpm2-pkcs11: add p11-kit optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a0315f7d48cef96618ce1add1fb8c0ddd60e487;p=buildroot.git package/tpm2-pkcs11: add p11-kit optional dependency Fixes: - http://autobuild.buildroot.org/results/fee607da7226a92cceab2bbfd4c5d031016dfa3d Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/tpm2-pkcs11/tpm2-pkcs11.mk b/package/tpm2-pkcs11/tpm2-pkcs11.mk index fb3846f056..3acce07745 100644 --- a/package/tpm2-pkcs11/tpm2-pkcs11.mk +++ b/package/tpm2-pkcs11/tpm2-pkcs11.mk @@ -37,4 +37,10 @@ TPM2_PKCS11_CONF_ENV += \ ac_cv_prog_tpm2_import=yes \ ac_cv_prog_tpm2_changeauth=yes +ifeq ($(BR2_PACKAGE_P11_KIT),y) +TPM2_PKCS11_DEPENDENCIES += p11-kit +TPM2_PKCS11_CONF_OPTS += \ + --with-p11kitconfigdir=/usr/share/p11-kit/modules +endif + $(eval $(autotools-package))