commit 1a68d0fe383e87a932ceacd0f58bb1ccb70960f2
Author: Jakub Bogusz <[email protected]>
Date:   Wed Jun 9 17:58:10 2021 +0200

    - more platforms (arm/aarch64, arc for mipsel)

 grub2.spec | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index 6cf31f2..7b81382 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -8,15 +8,15 @@
 #   - put grub-emu to subpackage if it is fixed
 #
 # Conditional build:
-%bcond_with    grubemu # build grub-emu debugging utility
-%bcond_without efiemu  # build efiemu runtimes
-%bcond_without pc      # do not build for PC BIOS platform
-%bcond_without efi     # do not build for EFI platform
+%bcond_with    grubemu # grub-emu debugging utility
+%bcond_without efiemu  # efiemu runtimes
+%bcond_without pc      # PC BIOS platform support (x86 specific)
+%bcond_without efi     # EFI platform support
 
 %ifnarch %{ix86} %{x8664} x32
 %undefine      with_pc
 %endif
-%ifnarch %{ix86} %{x8664} x32 ia64
+%ifnarch %{ix86} %{x8664} x32 %{arm} aarch64 ia64
 %undefine      with_efi
 %endif
 
@@ -26,17 +26,24 @@
 %endif
 
 # the 'most natural' platform should go last
-%ifarch %{ix86} %{x8664} x32 ia64
+# TODO? coreboot@{ix86,arm}, ieee1275@ix86, multiboot@ix86, qemu@ix86, 
qemu_mips@{mips,mipsel} xen@x86*, xen_pvh@ix86
+%ifarch %{ix86} %{x8664} x32
 %define                platforms %{?with_efi:efi} %{?with_pc:pc}
 %endif
-%ifarch ppc ppc64 sparc64
-%define                platforms ieee1275
+%ifarch %{arm}
+%define                platforms efi uboot
+%endif
+%ifarch aarch64 ia64 riscv32 riscv64
+%define                platforms efi
 %endif
 %ifarch mips
 %define                platforms arc
 %endif
 %ifarch mipsel
-%define                platforms loongson
+%define                platforms arc loongson
+%endif
+%ifarch ppc ppc64 sparc64
+%define                platforms ieee1275
 %endif
 
 %define                rel     1
@@ -115,7 +122,7 @@ Suggests:   cdrkit-mkisofs
 Suggests:      os-prober
 Provides:      bootloader
 Conflicts:     grub
-ExclusiveArch: %{ix86} %{x8664} x32 ia64 mips mipsel ppc ppc64 sparc64
+ExclusiveArch: %{ix86} %{x8664} x32 %{arm} aarch64 ia64 mips mipsel ppc ppc64 
riscv32 riscv64 sparc64
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sbindir        /sbin
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grub2.git/commitdiff/1a68d0fe383e87a932ceacd0f58bb1ccb70960f2

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to