[Buildroot] [PATCH v2 1/1] tpm-tools: bump to version 1.3.9.1
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Dec 19 14:44:18 UTC 2017
Hello,
On Tue, 19 Dec 2017 16:20:08 +0200 (IST), Yair Ben Avraham wrote:
> In commit 4ef0ef3 "tpm-tools: new package", the pkcs11 support explicitly
> disabled due to "... it is not handled by tpm-tools.mk currently."
>
> The building of src/data_mgmt commands, which enable the pkcs11 support
> (see ./configure file), depends on the P11_SUPPORT flag (see
> src/Makefile.am) which in turn depends on opencryptoki/pkcs11.h header
> (see ./configure.ac file).
>
> So the reason that pkcs11 is not supported it's not because that
> tpm-tools.mk not handle it, but because of the lack of
> opencryptoki/pkcs11.h header.
And so?
The reason why tpm-tools.mk explicitly disables it is because we
generally try to explicitly disable features that are not handled by
Buildroot. I.e if package A needs package B to enable a given feature,
then Buildroot passes --disable-B in order to be sure that the
configure script will not mistakenly enable it (some configure scripts
are for example confused by host-installed libraries and headers).
So, I'm sorry, but your explanation doesn't make much sense to me. So
either I still don't understand what you mean, or you did not
understand why --disable-pkcs11-support was originally added.
If nothing provides opencryptoki/pkcs11.h, then this option should
continue to be explicitly disabled.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list