Update for NetworkPkg.
[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 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #**/
15
16 ################################################################################
17 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = ArmPkg
23 PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/Arm
27 SUPPORTED_ARCHITECTURES = ARM
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30
31 [BuildOptions]
32 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
33 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
34
35 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -mfpu=neon
36 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
37
38 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
39 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
40
41 [LibraryClasses.common]
42 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
43 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
44 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
45 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
46 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
47 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
48 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
49 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
50 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
51 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
52 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
53 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
54 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
55 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
56 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
57
58 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
59 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
60 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
61 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
62
63 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
64 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
65 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
66 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
67 ArmTrustZoneLib|ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
68
69 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
70 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
71 # TODO: Check if we cannot remove this dependancy (Mayve using the SerialLibNull implementation makes the EFI application do not print)
72 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
73
74 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
75
76 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
77
78 [LibraryClasses.common.PEIM]
79 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
80 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
81 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
82 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
83 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
84
85 [LibraryClasses.common.DXE_DRIVER]
86 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
87
88 [LibraryClasses.ARM]
89 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
90
91 [Components.common]
92 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
93 ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
94 ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
95 # ArmPkg/Library/ArmLib/Arm11/Arm11ArmLib.inf
96 # ArmPkg/Library/ArmLib/Arm11/Arm11ArmLibPrePi.inf
97 # ArmPkg/Library/ArmLib/Arm9/Arm9ArmLib.inf
98 # ArmPkg/Library/ArmLib/Arm9/Arm9ArmLibPrePi.inf
99 ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
100 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
101 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
102 ArmPkg/Library/ArmLib/Null/NullArmLib.inf
103 ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
104 ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
105 ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf
106 ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf
107 ArmPkg/Library/BdsLib/BdsLib.inf
108 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
109 ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
110 ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
111 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
112 ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
113 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
114 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
115 ArmPkg/Library/SemihostLib/SemihostLib.inf
116 ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
117
118 ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
119 ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
120 ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.inf
121 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
122 ArmPkg/Drivers/CpuPei/CpuPei.inf
123 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
124 ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
125 ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
126 ArmPkg/Drivers/TimerDxe/TimerDxe.inf
127
128 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
129
130 ArmPkg/Application/LinuxLoader/LinuxAtagLoader.inf
131 ArmPkg/Application/LinuxLoader/LinuxFdtLoader.inf