]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc
IntelFrameworkModulePkg: fix build for AARCH64/ARM
[mirror_edk2.git] / IntelFrameworkModulePkg / IntelFrameworkModulePkg.dsc
CommitLineData
6bfbb5f0 1## @file\r
203677f8 2# Intel Framework Reference Module Package for All Architectures\r
3#\r
4# This file is used to build all modules in IntelFrameworkModulePkg.\r
5#\r
53473721 6#Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
0a6f4824
LG
7#This program and the accompanying materials are licensed and made available under\r
8#the terms and conditions of the BSD License that accompanies this distribution.\r
49fd8a35 9#The full text of the license may be found at\r
0a6f4824 10#http://opensource.org/licenses/bsd-license.php.\r
203677f8 11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
0a6f4824 15##\r
38dc2202 16\r
203677f8 17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = IntelFrameworkModuleAll\r
24 PLATFORM_GUID = FFF87D9A-E5BB-4AFF-9ADE-8645492E8087\r
f4d7904b 25 PLATFORM_VERSION = 0.96\r
203677f8 26 DSC_SPECIFICATION = 0x00010005\r
27 OUTPUT_DIRECTORY = Build/IntelFrameworkModuleAll\r
dd178f0f 28 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64\r
c93b95fe 29 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
203677f8 30 SKUID_IDENTIFIER = DEFAULT\r
31\r
32################################################################################\r
33#\r
34# SKU Identification section - list of all SKU IDs supported by this\r
35# Platform.\r
36#\r
37################################################################################\r
38[SkuIds]\r
39 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.\r
40\r
6bfbb5f0 41[LibraryClasses]\r
bcecde14 42 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
43 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
203677f8 44 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
0a6f4824 45 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
203677f8 46 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
47 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
203677f8 48 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
bcecde14 49 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
203677f8 50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
203677f8 51 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
52 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
e25cd12c 53 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
203677f8 54 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
203677f8 55 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
56 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
53473721
MK
57 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
58 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
203677f8 59 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
60 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
61 PlatformBdsLib|IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf\r
62 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
bcecde14 63 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
64 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
203677f8 65 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
66 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
d42aba98 67 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
203677f8 68 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
203677f8 69 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
70 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
203677f8 71 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
203677f8 72 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
73 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
74 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
75 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
203677f8 76 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
4fb411fd
LG
77 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
78\r
dd178f0f
LL
79[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
80 #\r
81 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
82 # This library provides the instrinsic functions generate by a given compiler.\r
83 # And NULL mean link this library into all ARM images.\r
84 #\r
85 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
86\r
87 # Add support for GCC stack protector\r
88 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
89\r
4fb411fd
LG
90[LibraryClasses.common.PEIM]\r
91 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
92 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
93 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
203677f8 94\r
cbcccd2c
LG
95[LibraryClasses.EBC.PEIM]\r
96 IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf\r
97\r
13d4af68 98[LibraryClasses.common.DXE_DRIVER]\r
99 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
100\r
4fb411fd 101[LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER]\r
203677f8 102 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
103 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
203677f8 104\r
4fb411fd
LG
105[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
106 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
0a6f4824 107\r
203677f8 108################################################################################\r
109#\r
110# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
111#\r
112################################################################################\r
6bfbb5f0 113[PcdsFeatureFlag]\r
203677f8 114 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSerialUseHalfHandshake|FALSE\r
115\r
6bfbb5f0 116[PcdsFixedAtBuild]\r
203677f8 117 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
203677f8 118 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
203677f8 119 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
203677f8 120\r
6bfbb5f0 121[Components]\r
203677f8 122 IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
123 IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
203677f8 124 IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf\r
125 IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.inf\r
203677f8 126 IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
127 IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf\r
128 IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
129 IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf\r
130 IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
cf7958f7 131 IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.inf\r
9e3f171d 132 IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
5a673ab2 133 IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
203677f8 134\r
203677f8 135 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
136 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
558be455 137 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf\r
d8387fa4 138 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyPei/IsaFloppyPei.inf\r
203677f8 139 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
140 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
141 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
142 IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
143 IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointerDxe.inf\r
144 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
203677f8 145\r
bcecde14 146 IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/KeyboardDxe.inf\r
147 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf\r
148 IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/BlockIoDxe.inf\r
149 IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf\r
150\r
8a96515e 151 IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf\r
203677f8 152 IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtractionDxe.inf\r
153 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
154 IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErrDxe.inf\r
155 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
156 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
157 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
158 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf\r
28a94112 159 IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf\r
c2df8e13 160 IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolDxe.inf\r
b2824a8e 161 IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/UpdateDriverDxe.inf\r
bcecde14 162\r
13d4af68 163[Components.IA32,Components.X64]\r
164 IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
5aab2d50 165 IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaArchCustomDecompressLib.inf\r
13d4af68 166\r
64bbf1de 167[Components.IA32,Components.X64]\r
bcecde14 168 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
0a6f4824 169\r
203677f8 170[Components.IA32]\r
171 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
806bf4f2 172 IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf {\r
173 <LibraryClasses>\r
174 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
175 }\r
203677f8 176\r
177[Components.X64]\r
178 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
806bf4f2 179 IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf {\r
180 <LibraryClasses>\r
181 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
182 }\r
0a6f4824 183\r
a61f87eb
HW
184[BuildOptions]\r
185 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r