qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 03/10] roms/Makefile.edk2: prepare for replacing TPM2*_ENABLE


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 03/10] roms/Makefile.edk2: prepare for replacing TPM2*_ENABLE macros
Date: Tue, 8 Sep 2020 10:09:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 9/8/20 9:29 AM, Laszlo Ersek wrote:
> Ekd2 commit 07952a962a40 ("OvmfPkg: rename TPM2 config prefix to TPM",
> 2020-03-04), part of edk2-stable202005, renamed OVMF's TPM2*_ENABLE build
> flags to TPM*_ENABLE. Going forward, the TPM*_ENABLE flags would activate
> both TPM1.2 and TPM2.0 support.
> 
> In order to build OVMF at edk2-stable202008 without losing currently
> enabled functionality, insert the new flags as no-ops now. We'll remove
> the old flags after advancing with the edk2 submodule.
> 
> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
> Ref: https://bugs.launchpad.net/qemu/+bug/1852196
> Signed-off-by: Laszlo Ersek <lersek@redhat.com>

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> ---
>  roms/Makefile.edk2 | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/roms/Makefile.edk2 b/roms/Makefile.edk2
> index 33a074d3a4c2..7c06645c95ca 100644
> --- a/roms/Makefile.edk2
> +++ b/roms/Makefile.edk2
> @@ -88,6 +88,8 @@ submodules:
>               -D NETWORK_IP6_ENABLE \
>               -D NETWORK_HTTP_BOOT_ENABLE \
>               -D NETWORK_TLS_ENABLE \
> +             -D TPM_ENABLE \
> +             -D TPM_CONFIG_ENABLE \
>               -D TPM2_ENABLE \
>               -D TPM2_CONFIG_ENABLE
>       cp edk2/Build/OvmfIa32/DEBUG_$(call toolchain,i386)/FV/OVMF_CODE.fd $@
> @@ -100,6 +102,8 @@ submodules:
>               -D NETWORK_IP6_ENABLE \
>               -D NETWORK_HTTP_BOOT_ENABLE \
>               -D NETWORK_TLS_ENABLE \
> +             -D TPM_ENABLE \
> +             -D TPM_CONFIG_ENABLE \
>               -D TPM2_ENABLE \
>               -D TPM2_CONFIG_ENABLE \
>               -D SECURE_BOOT_ENABLE \
> @@ -114,6 +118,8 @@ submodules:
>               -D NETWORK_IP6_ENABLE \
>               -D NETWORK_HTTP_BOOT_ENABLE \
>               -D NETWORK_TLS_ENABLE \
> +             -D TPM_ENABLE \
> +             -D TPM_CONFIG_ENABLE \
>               -D TPM2_ENABLE \
>               -D TPM2_CONFIG_ENABLE
>       cp edk2/Build/OvmfX64/DEBUG_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@
> @@ -127,6 +133,8 @@ submodules:
>               -D NETWORK_IP6_ENABLE \
>               -D NETWORK_HTTP_BOOT_ENABLE \
>               -D NETWORK_TLS_ENABLE \
> +             -D TPM_ENABLE \
> +             -D TPM_CONFIG_ENABLE \
>               -D TPM2_ENABLE \
>               -D TPM2_CONFIG_ENABLE \
>               -D SECURE_BOOT_ENABLE \
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]