<div dir="ltr">External declarations in .h files should not be configuration dependent, maybe this is a simpler fix?<div><br></div><div>--vb</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 15, 2016 at 8:55 AM, Trammell Hudson <span dir="ltr"><<a href="mailto:hudson@trmm.net" target="_blank">hudson@trmm.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is it possible to enable CONFIG_TPM with the current head in git?<br>
On my Lenovo x230, CONFIG_MAINBOARD_HAS_LPC_TPM is selected, as is<br>
CONFIG_LPC_TPM, but there does not appear to be any way to enable<br>
CONFIG_TPM in menuconfig.  In order to enable it, I had to change<br>
src/Kconfig to default to y.<br>
<br>
Without it selected, src/lib/tclc.c won't compile since the prototype for<br>
tlcl_define_space() in src/include/tpm_lite/tlcl.h depends on CONFIG_TPM<br>
or CONFIG_TPM2 being defined.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Trammell<br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br>
</font></span></blockquote></div><br></div>