BaseTools/BinToPcd: Fix Python 2.7.x compatibility issue
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dsc
CommitLineData
7b202cb0 1## @file\r
9e7864e2 2# UefiCpuPkg Package\r
3#\r
f6b0258d 4# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
9e7864e2 5#\r
01a1c0fc 6# This program and the accompanying materials\r
9e7864e2 7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
db61e163 10#\r
9e7864e2 11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
7b202cb0 14##\r
9e7864e2 15\r
16[Defines]\r
17 PLATFORM_NAME = UefiCpu\r
18 PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49\r
30142a32 19 PLATFORM_VERSION = 0.90\r
9e7864e2 20 DSC_SPECIFICATION = 0x00010005\r
21 OUTPUT_DIRECTORY = Build/UefiCpu\r
f6b0258d 22 SUPPORTED_ARCHITECTURES = IA32|X64\r
a7bd6695 23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
9e7864e2 24 SKUID_IDENTIFIER = DEFAULT\r
25\r
26#\r
27# External libraries to build package\r
28#\r
29\r
7b202cb0 30[LibraryClasses]\r
9e7864e2 31 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
32 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
33 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
34 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
b7953e26 35 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
5e9ae436 36 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
9e7864e2 37 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
661cab5d 38 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
e518b40c 39 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
40 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
9e7864e2 41 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
42 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
e518b40c 43 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
164d5964
LG
45 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
47 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
173eeac9 48 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
173eeac9 49 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
1f569620 50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
51 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
52 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
53 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
e41aad15 54 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
03673ae1 55 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
b3dc26ed 56 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
b7953e26 57 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
b7953e26
MK
58 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
59 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
406c7200
MK
60 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
61 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
d947a4cc
MK
62 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
63 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
09119a00 64 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
b3dc26ed 65\r
d947a4cc
MK
66[LibraryClasses.common.SEC]\r
67 PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
406c7200 68 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
863c738c
JF
69 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
70 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
71 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
b7953e26 72\r
164d5964
LG
73[LibraryClasses.common.PEIM]\r
74 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
1f569620 75 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
76 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
a1a4c7a4 77 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
eff78ac3 78 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf\r
3ea1d3e6 79\r
164d5964 80[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]\r
3ea1d3e6 81 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
a81abf16 82 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
3ea1d3e6 83\r
9e7864e2 84[LibraryClasses.common.DXE_DRIVER]\r
9e7864e2 85 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
db61e163 86 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
406c7200 87 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
7fadaacd 88 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
eff78ac3 89 RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf\r
9e7864e2 90\r
173eeac9 91[LibraryClasses.common.DXE_SMM_DRIVER]\r
173eeac9 92 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
8d96b976 93 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
b3dc26ed 94 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
406c7200 95 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
db61e163 96\r
25705752
MK
97[LibraryClasses.common.UEFI_APPLICATION]\r
98 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
99 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
100\r
9e7864e2 101#\r
102# Drivers/Libraries within this package\r
103#\r
104\r
7b202cb0 105[Components]\r
3ca55ed4 106 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
e643315b 107 UefiCpuPkg/CpuIoPei/CpuIoPei.inf\r
2057d8c8 108 UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf\r
25705752 109 UefiCpuPkg/Application/Cpuid/Cpuid.inf\r
173eeac9 110\r
111[Components.IA32, Components.X64]\r
e518b40c 112 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
82e75ac6
JF
113 UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {\r
114 <LibraryClasses>\r
115 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf\r
116 }\r
117 UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {\r
118 <LibraryClasses>\r
119 NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf\r
120 }\r
173eeac9 121 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
b7953e26 122 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
bfec5efa 123 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
989322c3 124 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
bf73cc4b 125 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
b7953e26 126 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
e41aad15 127 UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
b7953e26 128 UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
db61e163 129 UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
a81abf16 130 UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
3e8ad6bd
JF
131 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
132 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b7953e26 133 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
d947a4cc 134 UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf\r
eff78ac3
JF
135 UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf\r
136 UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf\r
406c7200
MK
137 UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
138 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
09119a00 139 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf\r
b3dc26ed
MK
140 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf\r
141 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf\r
d947a4cc 142 UefiCpuPkg/SecCore/SecCore.inf\r
b7953e26 143 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
09119a00
MK
144 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
145 <Defines>\r
146 FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94\r
147 <LibraryClasses>\r
148 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf\r
149 }\r
1f569620 150 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
72a8abde
HW
151\r
152[BuildOptions]\r
153 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r