Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2021 08:54:02 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cb4a79442c93 - main - sysutils/edk2: Mark the xen flavor as amd64 only
Message-ID:  <202111090854.1A98s2FR067650@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111090854.1A98s2FR067650>