BaseTools: remove duplicate includes: <arch>/ProcessorBind.h
Use the MdePkg version instead of maintaining a copy in BaseTools. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Chao Li <lichao@loongson.cn> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
This commit is contained in:
committed by
mergify[bot]
parent
6a07d9cacf
commit
69ac88cabd
@@ -8,6 +8,8 @@
|
||||
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
EDK2_PATH ?= $(MAKEROOT)/../../..
|
||||
|
||||
ifndef HOST_ARCH
|
||||
#
|
||||
# If HOST_ARCH is not defined, then we use 'uname -m' to attempt
|
||||
@@ -60,22 +62,22 @@ LD = ld
|
||||
endif
|
||||
LINKER ?= $(CC)
|
||||
ifeq ($(HOST_ARCH), IA32)
|
||||
ARCH_INCLUDE = -I $(MAKEROOT)/Include/Ia32/
|
||||
ARCH_INCLUDE = -I $(EDK2_PATH)/MdePkg/Include/Ia32/
|
||||
|
||||
else ifeq ($(HOST_ARCH), X64)
|
||||
ARCH_INCLUDE = -I $(MAKEROOT)/Include/X64/
|
||||
ARCH_INCLUDE = -I $(EDK2_PATH)/MdePkg/Include/X64/
|
||||
|
||||
else ifeq ($(HOST_ARCH), ARM)
|
||||
ARCH_INCLUDE = -I $(MAKEROOT)/Include/Arm/
|
||||
ARCH_INCLUDE = -I $(EDK2_PATH)/MdePkg/Include/Arm/
|
||||
|
||||
else ifeq ($(HOST_ARCH), AARCH64)
|
||||
ARCH_INCLUDE = -I $(MAKEROOT)/Include/AArch64/
|
||||
ARCH_INCLUDE = -I $(EDK2_PATH)/MdePkg/Include/AArch64/
|
||||
|
||||
else ifeq ($(HOST_ARCH), RISCV64)
|
||||
ARCH_INCLUDE = -I $(MAKEROOT)/Include/RiscV64/
|
||||
ARCH_INCLUDE = -I $(EDK2_PATH)/MdePkg/Include/RiscV64/
|
||||
|
||||
else ifeq ($(HOST_ARCH), LOONGARCH64)
|
||||
ARCH_INCLUDE = -I $(MAKEROOT)/Include/LoongArch64/
|
||||
ARCH_INCLUDE = -I $(EDK2_PATH)/MdePkg/Include/LoongArch64/
|
||||
|
||||
else
|
||||
$(error Bad HOST_ARCH)
|
||||
|
Reference in New Issue
Block a user