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