pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/ovmf ovmf: Only build the amd64 bootloader on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3bf524effc8
branches:  trunk
changeset: 381057:f3bf524effc8
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jun 27 07:21:07 2022 +0000

description:
ovmf: Only build the amd64 bootloader on amd64, pending further diagnostics
of toolchain issues.

  /tmp/sysutils/ovmf/work/edk2-20181116/Build/OvmfIa32/DEBUG_GCC49/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Madt.dll unsupported ELF EM_386 relocation 0xa.
GenFw: ERROR 3000: Invalid
  /tmp/sysutils/ovmf/work/edk2-20181116/Build/OvmfIa32/DEBUG_GCC49/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Madt.dll unsupported ELF EM_386 relocation 0x9.
GenFw: ERROR 3000: Invalid
  /tmp/sysutils/ovmf/work/edk2-20181116/Build/OvmfIa32/DEBUG_GCC49/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Madt.dll unsupported ELF EM_386 relocation 0xa.
GenFw: ERROR 3000: Invalid
  /tmp/sysutils/ovmf/work/edk2-20181116/Build/OvmfIa32/DEBUG_GCC49/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Madt.dll unsupported ELF EM_386 relocation 0x9.

diffstat:

 sysutils/ovmf/Makefile |  9 +++++----
 sysutils/ovmf/PLIST    |  4 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 04d4bbd3083e -r f3bf524effc8 sysutils/ovmf/Makefile
--- a/sysutils/ovmf/Makefile    Mon Jun 27 07:01:39 2022 +0000
+++ b/sysutils/ovmf/Makefile    Mon Jun 27 07:21:07 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2019/11/04 21:28:49 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2022/06/27 07:21:07 nia Exp $
 
 PKGNAME=               OVMF-0.0.20181116
-PKGREVISION=           1
+PKGREVISION=           2
 DISTNAME=              edk2-20181116
 MASTER_SITES=          ${MASTER_SITE_LOCAL}
 CATEGORIES=            sysutils
@@ -22,12 +22,13 @@
 .include "../../mk/bsd.prefs.mk"
 ONLY_FOR_PLATFORM=     *-*-i386 *-*-x86_64
 
-PLIST_VARS+=   x64
+PLIST_VARS+=   x32 x64
 
 .if !empty(MACHINE_PLATFORM:M*-*-i386)
 TARGET_ARCHS=  IA32
+PLIST.x32=     yes
 .elif !empty(MACHINE_PLATFORM:M*-*-x86_64)
-TARGET_ARCHS=  IA32 X64
+TARGET_ARCHS=  X64
 PLIST.x64=     yes
 .endif
 
diff -r 04d4bbd3083e -r f3bf524effc8 sysutils/ovmf/PLIST
--- a/sysutils/ovmf/PLIST       Mon Jun 27 07:01:39 2022 +0000
+++ b/sysutils/ovmf/PLIST       Mon Jun 27 07:21:07 2022 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.3 2019/02/19 16:45:45 ryoon Exp $
-share/ovmf/OVMFIA32.fd
+@comment $NetBSD: PLIST,v 1.4 2022/06/27 07:21:07 nia Exp $
+${PLIST.x32}share/ovmf/OVMFIA32.fd
 ${PLIST.x64}share/ovmf/OVMFX64.fd



Home | Main Index | Thread Index | Old Index