git: d7df5341dbd5 - main - sysutils/edk2: Add fvp support
Andrew Turner
andrew at FreeBSD.org
Fri Jul 30 10:27:01 UTC 2021
The branch main has been updated by andrew (src committer):
URL: https://cgit.FreeBSD.org/ports/commit/?id=d7df5341dbd50cc83a8bc292eab98d004677ccfd
commit d7df5341dbd50cc83a8bc292eab98d004677ccfd
Author: Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2021-07-02 09:01:35 +0000
Commit: Andrew Turner <andrew at FreeBSD.org>
CommitDate: 2021-07-29 20:03:05 +0000
sysutils/edk2: Add fvp support
This is used on the Arm Models (simulators)
Reviewed by: manu
Approved by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31277
---
sysutils/edk2/Makefile | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/sysutils/edk2/Makefile b/sysutils/edk2/Makefile
index f63ffd7f3cf7..942ad4746e77 100644
--- a/sysutils/edk2/Makefile
+++ b/sysutils/edk2/Makefile
@@ -11,7 +11,7 @@ ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= This port only provides firmware for aarch64 and amd64 machine
PKGNAMESUFFIX= -${FLAVOR:C/_/-/g}
-FLAVORS= macchiatobin rpi3 rpi4 xen_x64
+FLAVORS= fvp macchiatobin rpi3 rpi4 xen_x64
FLAVOR?= macchiatobin
USES= gmake python:3.7+,build
@@ -41,6 +41,16 @@ BINARY_ALIAS= make=${LOCALBASE}/bin/gmake \
g++=${LOCALBASE}/bin/g++${GCC_DEFAULT} \
python3=${PYTHON_CMD} python=${PYTHON_CMD}
+.if ${FLAVOR} == fvp
+PLAT= fvp
+PLAT_ARCH= AARCH64
+PLAT_ARGS= -D X64EMU_ENABLE=FALSE -D CAPSULE_ENABLE=FALSE
+PLAT_TARGET= RELEASE
+PLATFILE= Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc
+PLAT_RESULT= ArmVExpress-FVP-AArch64/${PLAT_TARGET}_GCC5/FV/FVP_AARCH64_EFI.fd
+PLAT_FILENAME= FVP_AARCH64_EFI.fd
+.endif
+
.if ${FLAVOR} == macchiatobin
PLAT= macchiatobin
PLAT_ARCH= AARCH64
More information about the dev-commits-ports-all
mailing list