git: cb4a79442c93 - main - sysutils/edk2: Mark the xen flavor as amd64 only
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Nov 2021 08:54:02 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cb4a79442c93ec652ac85534add6c1609a02948b
commit cb4a79442c93ec652ac85534add6c1609a02948b
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-09-29 10:20:36 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-11-09 08:53:41 +0000
sysutils/edk2: Mark the xen flavor as amd64 only
Xen flavors needs a gcc that can compile amd64 code (obviously) which
we don't really have in ports. Also there isn't much sense to build something
amd64 only on other arches. The inverse isn't true as bootstraping arm64 boards
from amd64 is common.
Reported by: diizzy
---
sysutils/edk2/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sysutils/edk2/Makefile b/sysutils/edk2/Makefile
index ad46ddafb471..503ff8fe42f7 100644
--- a/sysutils/edk2/Makefile
+++ b/sysutils/edk2/Makefile
@@ -83,6 +83,8 @@ PLAT_FILENAME= RPI_EFI.fd
.endif
.if ${FLAVOR} == xen_x64
+ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS_REASON= Do not compile on hardware other than amd64
PLAT= xen
PLAT_ARCH= X64
PLAT_TARGET= RELEASE