package/tpm2-pkcs11: add p11-kit optional dependency
Fixes: - http://autobuild.buildroot.org/results/fee607da7226a92cceab2bbfd4c5d031016dfa3d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
78ad95ae4b
commit
5a0315f7d4
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user