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