Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Marc Jones | 54b8e7a | 2013-10-29 17:57:30 -0600 | [diff] [blame] | 2 | |
Aaron Durbin | 789f2b6 | 2015-09-09 17:05:06 -0500 | [diff] [blame] | 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. |
Patrick Rudolph | 27d4550 | 2020-12-01 21:29:11 +0100 | [diff] [blame] | 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 |
Aaron Durbin | 789f2b6 | 2015-09-09 17:05:06 -0500 | [diff] [blame] | 11 | CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/uefi_2.4/MdePkg/Include |
Subrata Banik | 8b9f289 | 2018-01-25 10:50:39 +0530 | [diff] [blame] | 12 | else ifeq ($(CONFIG_UDK_2017_BINDING),y) |
Patrick Rudolph | 27d4550 | 2020-12-01 21:29:11 +0100 | [diff] [blame] | 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 |
Subrata Banik | 8b9f289 | 2018-01-25 10:50:39 +0530 | [diff] [blame] | 15 | CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/UDK2017/MdePkg/Include |
| 16 | CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/UDK2017/IntelFsp2Pkg/Include |
Patrick Rudolph | 2a72e5d | 2022-02-11 15:46:56 +0100 | [diff] [blame^] | 17 | CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/UDK2017/MdeModulePkg/Include |
Jonathan Zhang | 6d27778 | 2020-06-09 17:56:53 -0700 | [diff] [blame] | 18 | else ifeq ($(CONFIG_UDK_202005_BINDING),y) |
Patrick Rudolph | 27d4550 | 2020-12-01 21:29:11 +0100 | [diff] [blame] | 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 |
Jonathan Zhang | 6d27778 | 2020-06-09 17:56:53 -0700 | [diff] [blame] | 21 | CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include |
| 22 | CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202005/IntelFsp2Pkg/Include |
Patrick Rudolph | 2a72e5d | 2022-02-11 15:46:56 +0100 | [diff] [blame^] | 23 | CPPFLAGS_common += -I$(src)/vendorcode/intel/edk2/edk2-stable202005/MdeModulePkg/Include |
Subrata Banik | 20fe24b | 2021-12-09 02:46:38 +0530 | [diff] [blame] | 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 |
Aaron Durbin | 789f2b6 | 2015-09-09 17:05:06 -0500 | [diff] [blame] | 29 | endif |