MdeModulePkg/FaultTolerantWriteDxe: implement standalone MM version
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
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 #\r
8 #    This program and the accompanying materials\r
9 #    are licensed and made available under the terms and conditions of the BSD License\r
10 #    which accompanies this distribution. The full text of the license may be found at\r
11 #    http://opensource.org/licenses/bsd-license.php\r
12 #\r
13 #    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14 #    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15 #\r
16 #**/\r
17 \r
18 ################################################################################\r
19 #\r
20 # Defines Section - statements that will be processed to create a Makefile.\r
21 #\r
22 ################################################################################\r
23 [Defines]\r
24   PLATFORM_NAME                  = ArmPkg\r
25   PLATFORM_GUID                  = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F\r
26   PLATFORM_VERSION               = 0.1\r
27   DSC_SPECIFICATION              = 0x00010005\r
28   OUTPUT_DIRECTORY               = Build/Arm\r
29   SUPPORTED_ARCHITECTURES        = ARM|AARCH64\r
30   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
31   SKUID_IDENTIFIER               = DEFAULT\r
32 \r
33 [BuildOptions]\r
34   RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG\r
35   *_*_*_CC_FLAGS  = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
36 \r
37 [LibraryClasses.common]\r
38   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
39   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
40   CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
41   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
42   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
43   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
44   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
45   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
46   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
47   TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
48   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
49   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
50   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
51   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
52   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
53   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
54   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
55 \r
56   NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
57   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
58   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
59 \r
60   SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
61   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
62   DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
63   CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r
64 \r
65   CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
66   ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
67   ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r
68   ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
69   ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
70   ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
71   OpteeLib|ArmPkg/Library/OpteeLib/OpteeLib.inf\r
72 \r
73   UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
74   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
75   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
76 \r
77   FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
78 \r
79   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
80   FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
81   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
82 \r
83   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
84 \r
85   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
86   ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
87 \r
88   ArmMtlLib|ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf\r
89 \r
90 [LibraryClasses.common.PEIM]\r
91   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
92   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
93   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
94   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
95   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
96 \r
97 [LibraryClasses.ARM, LibraryClasses.AARCH64]\r
98   NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
99 \r
100   # Add support for GCC stack protector\r
101   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
102 \r
103 [Components.common]\r
104   ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
105   ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
106   ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
107   ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r
108   ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
109   ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
110   ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
111   ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf\r
112   ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r
113   ArmPkg/Library/SemihostLib/SemihostLib.inf\r
114   ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r
115   ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r
116   ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf\r
117 \r
118   ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
119   ArmPkg/Drivers/CpuPei/CpuPei.inf\r
120   ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
121   ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
122   ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf\r
123   ArmPkg/Drivers/TimerDxe/TimerDxe.inf\r
124 \r
125   ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
126   ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r
127 \r
128   ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
129   ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf\r
130   ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r
131   ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r
132   ArmPkg/Library/OpteeLib/OpteeLib.inf\r
133 \r
134   ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
135 \r
136   ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
137 \r
138   ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf\r
139   ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
140   ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r
141   ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf\r
142   ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
143   ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
144   ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf\r
145   ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
146   ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
147 \r
148   ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf\r
149 \r
150 [Components.AARCH64]\r
151   ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf\r
152   ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf\r