git: 3e971e9bf59b - main - sysutils/edk2: Remove default FLAVOR
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 May 2022 12:28:49 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e971e9bf59b04d5bb7fa0eb35157c2aa2a9a295 commit 3e971e9bf59b04d5bb7fa0eb35157c2aa2a9a295 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-05-16 12:28:15 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-05-16 12:28:44 +0000 sysutils/edk2: Remove default FLAVOR THis makes make clean clean all the flavors by default. --- sysutils/edk2/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sysutils/edk2/Makefile b/sysutils/edk2/Makefile index 312c86f8362b..a0aea2b1e139 100644 --- a/sysutils/edk2/Makefile +++ b/sysutils/edk2/Makefile @@ -12,7 +12,6 @@ ONLY_FOR_ARCHS_REASON= only provides firmware for aarch64 and amd64 PKGNAMESUFFIX= -${FLAVOR:C/_/-/g} FLAVORS= macchiatobin fvp rpi3 rpi4 xen_x64 -FLAVOR?= macchiatobin USES= cpe gmake python:3.7+,build CPE_VENDOR= tianocore @@ -43,6 +42,8 @@ BINARY_ALIAS= make=${LOCALBASE}/bin/gmake \ g++=${LOCALBASE}/bin/g++${GCC_DEFAULT} \ python3=${PYTHON_CMD} python=${PYTHON_CMD} +.include <bsd.port.pre.mk> + .if ${FLAVOR} == fvp PLAT= fvp PLAT_ARCH= AARCH64 @@ -105,8 +106,6 @@ MAKE_ENV+= WORKSPACE=${WRKDIR} \ PYTHON_COMMAND=python3 \ PYTHONHASHSEED=1 -.include <bsd.port.pre.mk> - .if ${PLAT_ARCH} == AARCH64 && ${ARCH} != aarch64 BUILD_DEPENDS+= aarch64-none-elf-gcc:devel/aarch64-none-elf-gcc MAKE_ENV+= GCC5_AARCH64_PREFIX=aarch64-none-elf-