Restrict only to architectures that the code claims to support:

Python/TargetTool/TargetTool.py:  help="ARCHS is one of list: IA32, X64, ARM, AARCH64 or EBC, which replaces target.txt's TARGET_ARCH definition. To specify more archs, please repeat this option."
  Python/build/buildoptions.py:     help="ARCHS is one of list: IA32, X64, ARM, AARCH64, RISCV64 or EBC, which overrides target.txt's TARGET_ARCH definition. To specify more archs, please repeat this option."

See also: BaseTools/Source/C/GNUmakefile.

Result from attempt on powerpc64:

  Attempting to detect HOST_ARCH from 'uname -m': powerpc
  Could not detected HOST_ARCH from uname results

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2020-09-06 19:07:06 +00:00
parent dad100a8f0
commit b8072cb547
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547866

View File

@ -9,6 +9,9 @@ COMMENT= EDK2 Firmware for ${FLAVOR}
LICENSE= BSD3CLAUSE
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 riscv64
ONLY_FOR_ARCHS_REASON= source code is not yet ported to anything other than IA32, X64, ARM, AARCH64, RISCV64 or EBC
PKGNAMESUFFIX= -${FLAVOR:C/_/-/g}
FLAVORS= macchiatobin rpi3 rpi4
FLAVOR?= macchiatobin