sysutils/edk2: Remove aarch64-none-elf-gcc on aarch64

We can use the native gcc (from USE_GCC) to build the ports so don't
add another build dep.
This commit is contained in:
Emmanuel Vadot 2021-09-29 12:22:29 +02:00
parent cb4a79442c
commit dfd3f7e23b

View file

@ -104,7 +104,9 @@ MAKE_ENV+= WORKSPACE=${WRKDIR} \
PYTHON_COMMAND=python3 \
PYTHONHASHSEED=1
.if ${PLAT_ARCH} == AARCH64
.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-
.endif
@ -131,4 +133,4 @@ do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
${INSTALL_DATA} ${WRKDIR}/Build/${PLAT_RESULT} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/${PLAT_FILENAME}
.include <bsd.port.mk>
.include <bsd.port.post.mk>