[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where does these TPM flags comes from?
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: Where does these TPM flags comes from? |
Date: |
Mon, 7 Sep 2020 22:51:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 9/7/20 10:45 PM, 罗勇刚(Yonggang Luo) wrote:
> tpm_ss = ss.source_set()
>
> tpm_ss.add(files('tpm_backend.c'))
> tpm_ss.add(files('tpm_util.c'))
> tpm_ss.add(when: 'CONFIG_TPM_PASSTHROUGH', if_true:
> files('tpm_passthrough.c'))
> tpm_ss.add(when: 'CONFIG_TPM_EMULATOR', if_true: files('tpm_emulator.c'))
>
> softmmu_ss.add_all(when: 'CONFIG_TPM', if_true: tpm_ss)
>
> I can not found the config for CONFIG_TPM_PASSTHROUGH and
> CONFIG_TPM_EMULATOR
This device is available but disabled by default.
By default only the configurations defined in default-configs/
are built, but you can add customized configuration.
This allow you to add or reduce the set of features you want
your build to have.