]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/ArmPkg.dsc
ArmPkg: remove redundant _ARM_PLATFORM_FLAGS overrides
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
CommitLineData
1e57a462 1#/** @file\r
2# ARM processor package.\r
3#\r
4# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r
4f2494cf 5# Copyright (c) 2011 - 2018, ARM Ltd. All rights reserved.<BR>\r
5e667630 6# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
1e57a462 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
25402f5d 29 SUPPORTED_ARCHITECTURES = ARM|AARCH64\r
e4bc73d7 30 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
1e57a462 31 SKUID_IDENTIFIER = DEFAULT\r
32\r
33[BuildOptions]\r
4a8fa966 34 RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
5e667630 35 *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
1e57a462 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
4bbcc285 41 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
1e57a462 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
ef0fa8e1 53 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
1e57a462 54 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
55\r
061568e2
RC
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
1e57a462 60 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
1e57a462 61 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
62 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
2939c778 63 CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r
1e57a462 64\r
1e57a462 65 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
017baa1c 66 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
8d13298b 67 ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r
4f6d34b4 68 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
166c01fb 69 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
1e57a462 70 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
d65b78f1 71 OpteeLib|ArmPkg/Library/OpteeLib/OpteeLib.inf\r
1e57a462 72\r
73 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
74 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
1e57a462 75 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
76\r
1e57a462 77 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
3402aac7 78\r
23b01c83
RC
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
1e57a462 83 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
84\r
c52c592a 85 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
820d07ab
AB
86 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
87\r
4f2494cf
GP
88 ArmMtlLib|ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf\r
89\r
1e57a462 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
bd1d0628 97[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
1e57a462 98 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
99\r
bd1d0628
OM
100 # Add support for GCC stack protector\r
101 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
25402f5d 102\r
1e57a462 103[Components.common]\r
104 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
105 ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
1e57a462 106 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
3eef284c 107 ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r
1e57a462 108 ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
1e57a462 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
ca3026d3 114 ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r
2939c778
EC
115 ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r
116 ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf\r
1e57a462 117\r
1e57a462 118 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
119 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
017baa1c
OM
120 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
121 ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
0b4d97a0 122 ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf\r
1e57a462 123 ArmPkg/Drivers/TimerDxe/TimerDxe.inf\r
124\r
cece12d3 125 ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
bcf37cf6 126 ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r
cece12d3 127\r
166c01fb 128 ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
129 ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf\r
58e92b39 130 ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r
f8f0e454 131 ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r
d65b78f1 132 ArmPkg/Library/OpteeLib/OpteeLib.inf\r
166c01fb 133\r
1e57a462 134 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
135\r
820d07ab
AB
136 ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
137\r
0d7631f0
AB
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
4f2494cf
GP
148 ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf\r
149\r
25402f5d 150[Components.AARCH64]\r
0d7631f0 151 ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf\r
5ee1bcae 152 ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf\r