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