Stefan Weil <stefan.w...@weilnetz.de> writes:

> A compilation test with clang -Weverything reported this problem:
>
> config-host.h:112:20: warning: '$' in identifier
> [-Wdollar-in-identifier-extension]
>
> The line of code looks like this:
>
> #define CONFIG_TPM $(CONFIG_SOFTMMU)
>
> This is fine for Makefile code, but won't work as expected in C code.

Broken in commit 3b8acc1 "configure: fix TPM logic".  Cc'ing Paolo.

Impact: #ifdef CONFIG_TPM never disables code.  There are no other uses
of CONFIG_TPM in C code.

I had a quick peek at configure and create_config, but refrained from
attempting to fix this, since I don't understand when exactly CONFIG_TPM
should be defined.

Reply via email to