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