soc/mediatek/mt8196: Initialize SSPM
[coreboot2.git] / src / vendorcode / intel / Makefile.mk
blob19a1926a247093f38a48926612ed025cd2f2e241
1 ## SPDX-License-Identifier: GPL-2.0-only
3 ifeq ($(CONFIG_UEFI_2_4_BINDING),y)
4 # ProccessorBind.h provided in Ia32 directory. Types are derived from ia32.
5 # It's possible to provide our own ProcessorBind.h using posix types. However,
6 # ProcessorBind.h isn't just about types. There's compiler definitions as well
7 # as ABI enforcement. Luckily long is not used in Ia32/ProcessorBind.h for
8 # a fixed width type.
9 CPPFLAGS_x86_32 += -I$(src)/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include/Ia32
10 CPPFLAGS_x86_64 += -I$(src)/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include/X64
11 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include
12 else ifeq ($(CONFIG_UDK_2017_BINDING),y)
13 CPPFLAGS_x86_32 += -I$(src)/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Ia32
14 CPPFLAGS_x86_64 += -I$(src)/vendorcode/intel/edk2/UDK2017/MdePkg/Include/X64
15 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/UDK2017/MdePkg/Include
16 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/UDK2017/IntelFsp2Pkg/Include
17 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/UDK2017/MdeModulePkg/Include
18 else ifeq ($(CONFIG_UDK_202005_BINDING),y)
19 CPPFLAGS_x86_32 += -I$(src)/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Ia32
20 CPPFLAGS_x86_64 += -I$(src)/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/X64
21 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include
22 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202005/IntelFsp2Pkg/Include
23 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202005/MdeModulePkg/Include
24 else ifeq ($(CONFIG_UDK_202111_BINDING),y)
25 CPPFLAGS_x86_32 += -I$(src)/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Ia32
26 CPPFLAGS_x86_64 += -I$(src)/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/X64
27 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include
28 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202111/IntelFsp2Pkg/Include
29 else ifeq ($(CONFIG_UDK_202302_BINDING),y)
30 CPPFLAGS_x86_32 += -I$(src)/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Ia32
31 CPPFLAGS_x86_64 += -I$(src)/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/X64
32 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include
33 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202302/IntelFsp2Pkg/Include
34 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202302/UefiCpuPkg/Include/
35 else ifeq ($(CONFIG_UDK_202305_BINDING),y)
36 CPPFLAGS_x86_32 += -I$(src)/vendorcode/intel/edk2/edk2-stable202305/MdePkg/Include/Ia32
37 CPPFLAGS_x86_64 += -I$(src)/vendorcode/intel/edk2/edk2-stable202305/MdePkg/Include/X64
38 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202305/MdePkg/Include
39 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202305/IntelFsp2Pkg/Include
40 CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202305/UefiCpuPkg/Include/
41 endif