diff --git a/sysutils/edk2/Makefile b/sysutils/edk2/Makefile --- a/sysutils/edk2/Makefile +++ b/sysutils/edk2/Makefile @@ -11,7 +11,7 @@ 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 @@ 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