]>
Commit | Line | Data |
---|---|---|
1e57a462 | 1 | #/** @file\r |
2 | # ARM processor package.\r | |
3 | #\r | |
4 | # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r | |
d8923368 | 5 | # Copyright (c) 2011 - 2021, Arm Limited. All rights reserved.<BR>\r |
5e667630 | 6 | # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r |
045e4b84 | 7 | # Copyright (c) Microsoft Corporation.<BR>\r |
62540372 | 8 | # Copyright (c) 2021, Ampere Computing LLC. All rights reserved.\r |
1e57a462 | 9 | #\r |
4059386c | 10 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
1e57a462 | 11 | #\r |
12 | #**/\r | |
13 | \r | |
14 | ################################################################################\r | |
15 | #\r | |
16 | # Defines Section - statements that will be processed to create a Makefile.\r | |
17 | #\r | |
18 | ################################################################################\r | |
19 | [Defines]\r | |
20 | PLATFORM_NAME = ArmPkg\r | |
21 | PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F\r | |
22 | PLATFORM_VERSION = 0.1\r | |
23 | DSC_SPECIFICATION = 0x00010005\r | |
24 | OUTPUT_DIRECTORY = Build/Arm\r | |
25402f5d | 25 | SUPPORTED_ARCHITECTURES = ARM|AARCH64\r |
e4bc73d7 | 26 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r |
1e57a462 | 27 | SKUID_IDENTIFIER = DEFAULT\r |
28 | \r | |
29 | [BuildOptions]\r | |
4a8fa966 | 30 | RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r |
5e667630 | 31 | *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r |
1e57a462 | 32 | \r |
68d720fd AB |
33 | [PcdsFixedAtBuild]\r |
34 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4\r | |
35 | \r | |
83d4afa4 DB |
36 | !include MdePkg/MdeLibs.dsc.inc\r |
37 | \r | |
1e57a462 | 38 | [LibraryClasses.common]\r |
39 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
40 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
d8923368 | 41 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r |
1e57a462 | 42 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r |
4bbcc285 | 43 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r |
1e57a462 | 44 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r |
d8923368 | 45 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r |
1e57a462 | 46 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
47 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
48 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
49 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
50 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
d8923368 | 51 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r |
1e57a462 | 52 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r |
53 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
54 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
55 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
56 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
ef0fa8e1 | 57 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r |
1e57a462 | 58 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
d8923368 | 59 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r |
1e57a462 | 60 | \r |
061568e2 RC |
61 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r |
62 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
63 | \r | |
1e57a462 | 64 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r |
1e57a462 | 65 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r |
66 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
2939c778 | 67 | CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
1e57a462 | 68 | \r |
1e57a462 | 69 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r |
017baa1c | 70 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r |
8d13298b | 71 | ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r |
4f6d34b4 | 72 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r |
166c01fb | 73 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
1e57a462 | 74 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r |
d65b78f1 | 75 | OpteeLib|ArmPkg/Library/OpteeLib/OpteeLib.inf\r |
1e57a462 | 76 | \r |
77 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
78 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
1e57a462 | 79 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r |
80 | \r | |
1e57a462 | 81 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r |
3402aac7 | 82 | \r |
23b01c83 RC |
83 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
84 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
85 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
86 | \r | |
1e57a462 | 87 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r |
88 | \r | |
c52c592a | 89 | ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r |
820d07ab AB |
90 | ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r |
91 | \r | |
4f2494cf GP |
92 | ArmMtlLib|ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf\r |
93 | \r | |
0e51d7e4 RC |
94 | OemMiscLib|ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf\r |
95 | \r | |
1e57a462 | 96 | [LibraryClasses.common.PEIM]\r |
97 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
98 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
99 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
100 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
101 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
102 | \r | |
bd1d0628 | 103 | [LibraryClasses.ARM, LibraryClasses.AARCH64]\r |
1e57a462 | 104 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r |
105 | \r | |
bd1d0628 OM |
106 | # Add support for GCC stack protector\r |
107 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
25402f5d | 108 | \r |
1e57a462 | 109 | [Components.common]\r |
110 | ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
111 | ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r | |
1e57a462 | 112 | ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r |
3eef284c | 113 | ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r |
1e57a462 | 114 | ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r |
1e57a462 | 115 | ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r |
116 | ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
117 | ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf\r | |
118 | ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r | |
119 | ArmPkg/Library/SemihostLib/SemihostLib.inf\r | |
ca3026d3 | 120 | ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r |
2939c778 EC |
121 | ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
122 | ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf\r | |
1e57a462 | 123 | \r |
1e57a462 | 124 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r |
125 | ArmPkg/Drivers/CpuPei/CpuPei.inf\r | |
017baa1c OM |
126 | ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r |
127 | ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r | |
0b4d97a0 | 128 | ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf\r |
1e57a462 | 129 | ArmPkg/Drivers/TimerDxe/TimerDxe.inf\r |
130 | \r | |
cece12d3 | 131 | ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r |
bcf37cf6 | 132 | ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r |
cece12d3 | 133 | \r |
166c01fb | 134 | ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
135 | ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf\r | |
58e92b39 | 136 | ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r |
f8f0e454 | 137 | ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r |
d65b78f1 | 138 | ArmPkg/Library/OpteeLib/OpteeLib.inf\r |
166c01fb | 139 | \r |
1e57a462 | 140 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r |
141 | \r | |
820d07ab AB |
142 | ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r |
143 | \r | |
0d7631f0 AB |
144 | ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf\r |
145 | ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r | |
146 | ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r | |
147 | ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf\r | |
148 | ArmPkg/Library/ArmLib/ArmBaseLib.inf\r | |
045e4b84 | 149 | ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf\r |
0d7631f0 | 150 | ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r |
045e4b84 | 151 | ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf\r |
0d7631f0 AB |
152 | ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r |
153 | ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r | |
62540372 | 154 | ArmPkg/Library/LinuxBootBootManagerLib/LinuxBootBootManagerLib.inf\r |
0d7631f0 | 155 | \r |
045e4b84 | 156 | ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.inf\r |
4f2494cf GP |
157 | ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf\r |
158 | \r | |
2ba6ecef | 159 | ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClassDxe.inf\r |
ecc267fe | 160 | ArmPkg/Universal/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf\r |
c2bd8a1a | 161 | ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf\r |
2ba6ecef | 162 | \r |
25402f5d | 163 | [Components.AARCH64]\r |
6ff7c838 | 164 | ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf\r |
0d7631f0 | 165 | ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf\r |
aee0098f EC |
166 | \r |
167 | [Components.AARCH64, Components.ARM]\r | |
5ee1bcae | 168 | ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf\r |