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