Sync up ArmPkg with patch from mailing list. Changed name of BdsLib.h to BdsUnixLib...
[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_ARCHCC_FLAGS == -arch armv7 -march=armv7
33 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7
34 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7
35 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
36
37 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb
38 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a
39 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
40
41 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb
42 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8
43 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
44
45 [LibraryClasses.common]
46 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
47 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
48 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
49 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
50 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
51 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
52 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
53 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
54 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
55 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
56 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
57 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
58 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
59 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
60
61 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
62 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
63 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
64 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
65
66 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
67 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
68 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
69 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
70 ArmTrustZoneLib|ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
71 ArmMPCoreMailBoxLib|ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf
72
73 PL354SmcSecLib|ArmPkg/Drivers/PL35xSmc/PL354SmcSec.inf
74 PL341DmcLib|ArmPkg/Drivers/PL34xDmc/PL341Dmc.inf
75 PL301AxiLib|ArmPkg/Drivers/PL301Axi/PL301Axi.inf
76 PL310L2CacheSecLib|ArmPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
77
78 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
79
80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
81
82 [LibraryClasses.common.PEIM]
83 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
84 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
85 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
86 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
87 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
88
89 [LibraryClasses.ARM]
90 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
91
92
93 [Components.common]
94 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
95 ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
96 ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
97 ArmPkg/Library/ArmLib/Arm11/Arm11ArmLib.inf
98 ArmPkg/Library/ArmLib/Arm11/Arm11ArmLibPrePi.inf
99 ArmPkg/Library/ArmLib/Arm9/Arm9ArmLib.inf
100 ArmPkg/Library/ArmLib/Arm9/Arm9ArmLibPrePi.inf
101 ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
102 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
103 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
104 ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf
105 ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibPrePi.inf
106 ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf
107 ArmPkg/Library/ArmLib/Null/NullArmLib.inf
108 ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf
109 ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
110 ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
111 ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf
112 ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf
113 ArmPkg/Library/BdsLib/BdsLib.inf
114 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
115 ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
116 ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
117 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
118 ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf
119 ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
120 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
121 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
122 ArmPkg/Library/SemihostLib/SemihostLib.inf
123 ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
124
125 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
126 ArmPkg/Drivers/CpuPei/CpuPei.inf
127 ArmPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
128 ArmPkg/Drivers/PL301Axi/PL301Axi.inf
129 ArmPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
130 ArmPkg/Drivers/PL34xDmc/PL341Dmc.inf
131 ArmPkg/Drivers/PL35xSmc/PL354SmcSec.inf
132 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
133 ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf
134 ArmPkg/Drivers/PL390Gic/PL390GicSec.inf
135 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
136 ArmPkg/Universal/MmcDxe/MmcDxe.inf
137
138