From 991b631fc4507b94612308876c111f1e31914398 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Sep 09 2022 15:37:26 +0000 Subject: Enable ovmf and aarch64 builds for Hyperscale --- diff --git a/edk2.spec b/edk2.spec index 728fc5d..896f495 100644 --- a/edk2.spec +++ b/edk2.spec @@ -15,6 +15,10 @@ ExclusiveArch: x86_64 aarch64 %define OPENSSL_VER 1.1.1k %if %{defined rhel} +%if 0%{?centos_hs} +%define build_ovmf 1 +%define build_aarch64 1 +%else %define build_ovmf 0 %define build_aarch64 0 %ifarch x86_64 @@ -23,19 +27,24 @@ ExclusiveArch: x86_64 aarch64 %ifarch aarch64 %define build_aarch64 1 %endif +%endif %else %define build_ovmf 1 %define build_aarch64 1 %endif %global softfloat_version 20180726-gitb64af41 -%define cross %{defined fedora} +%if 0%{?fedora} || 0%{?centos_hs} +%define cross 1 +%else +%define cross 0 +%endif %define disable_werror %{defined fedora} Name: edk2 Version: %{GITDATE}git%{GITCOMMIT} -Release: 5%{?dist} +Release: 5.1%{?dist} Summary: UEFI firmware for 64-bit virtual machines License: BSD-2-Clause-Patent and OpenSSL and MIT URL: http://www.tianocore.org @@ -707,6 +716,9 @@ virt-fw-vars --input Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.secboot.fd \ %changelog +* Thu Sep 08 2022 Davide Cavalca - 20220526git16779ede2d36-5.1 +- Enable ovmf and aarch64 builds for Hyperscale + * Thu Aug 18 2022 Gerd Hoffmann - 20220526git16779ede2d36-5 - comment out patch #4 (bug 2116534 workaround) - comment out patch #12 (bug 2114858 workaround)