Enable build on riscv64

This commit is contained in:
misaka00251 2023-07-19 18:12:01 +08:00
parent f980d75e4d
commit 584441c37a
No known key found for this signature in database
GPG Key ID: 1F50F0319B8BAFCB

View File

@ -1,7 +1,7 @@
%define debug_package %{nil} %define debug_package %{nil}
Name: gnu-efi Name: gnu-efi
Version: 3.0.17 Version: 3.0.17
Release: 2 Release: 3
Summary: Development Libraries and headers for EFI Summary: Development Libraries and headers for EFI
Epoch: 1 Epoch: 1
License: BSD License: BSD
@ -23,7 +23,9 @@ Patch1: 0001-gnu-efi-add-CHAR16-for-loongarch64.patch
%ifarch loongarch64 %ifarch loongarch64
%global efiarch loongarch64 %global efiarch loongarch64
%endif %endif
%ifarch riscv64
%global efiarch riscv64
%endif
Provides: %{name}-utils = %{epoch}:%{version}-%{release} Provides: %{name}-utils = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-utils < %{epoch}:%{version}-%{release} Obsoletes: %{name}-utils < %{epoch}:%{version}-%{release}
@ -83,6 +85,9 @@ mv ia32/apps/{route80h.efi,modelist.efi} %{buildroot}/boot/efi/EFI/%{efidir}/ia3
%{_includedir}/efi %{_includedir}/efi
%changelog %changelog
* Wed Jul 19 2023 misaka00251 <liuxin@iscas.ac.cn> - 1:3.0.17-3
- Enable build on riscv64
* Thu Jul 6 2023 doupengda <doupengda@loongson.cn> - 1:3.0.17-2 * Thu Jul 6 2023 doupengda <doupengda@loongson.cn> - 1:3.0.17-2
- gnu-efi add CHAR16 for loongarch64 - gnu-efi add CHAR16 for loongarch64