REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3308
The EDK II Build Specifications do not restrict the set of CPU architectures that can be supported. Remove places in the EDK II that assume a fixed set of CPU architectures. Remove build breaks in the following tools and DEFINES when a check against a fixed set of CPU architectures is made. * Build * GenFds * TargetTool * GenFw * SIXTY_FOUR_BIT and THIRTY_TWO_BIT * EFI_IMAGE_MACHINE_TYPE_SUPPORTED * EFI_IMAGE_MACHINE_CROSS_TYPE_SUPPORTED * EFI_REMOVABLE_MEDIA_FILE_NAME Cc: Jiewen Yao <[email protected]> Cc: Jian J Wang <[email protected]> Cc: Xiaoyu Lu <[email protected]>Cc Cc: Guomin Jiang <[email protected]> Cc: Liming Gao <[email protected]> Cc: Zhiguang Liu <[email protected]> Cc: Bob Feng <[email protected]> Cc: Yuwei Chen <[email protected]> Cc: Andrew Fish <[email protected]> Cc: Abner Chang <[email protected]> Signed-off-by: Michael D Kinney <[email protected]> Michael D Kinney (3): MdePkg/Include: Allow CPU specific defines to be predefined CryptoPkg/Library/Include: Allow CPU specific defines to be predefined BaseTools/Source: Remove CPU architecture assumptions BaseTools/Source/C/GenFw/Elf32Convert.c | 5 ++--- BaseTools/Source/C/GenFw/Elf64Convert.c | 5 ++--- BaseTools/Source/Python/GenFds/FdfParser.py | 4 +--- BaseTools/Source/Python/TargetTool/TargetTool.py | 4 ++-- BaseTools/Source/Python/build/buildoptions.py | 4 ++-- CryptoPkg/Library/Include/CrtLibSupport.h | 2 ++ MdePkg/Include/Uefi/UefiBaseType.h | 4 +++- MdePkg/Include/Uefi/UefiSpec.h | 4 +++- 8 files changed, 17 insertions(+), 15 deletions(-) -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73818): https://edk2.groups.io/g/devel/message/73818 Mute This Topic: https://groups.io/mt/81936015/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
