Patch from open source community for CryptoPkg to allow it to build for ARM using...
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
CommitLineData
2ef2b01e 1#/** @file
8bbf0f09 2# ARM processor package.
2ef2b01e 3#
d6ebcab7 4# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
8bbf0f09 5#
d6ebcab7 6# This program and the accompanying materials
8bbf0f09
A
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.
2ef2b01e
A
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
076c0505 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
507ebc1a 38 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -mfpu=neon
076c0505 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
2ef2b01e
A
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
709497d1 50 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
2ef2b01e
A
51 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
52 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
53 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
54 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
55 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
56 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
57 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
58 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
59 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
62e797a4 60 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
2ef2b01e 61
2ef2b01e
A
62 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
63 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
8bbf0f09 64 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
6f72e28d 65 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
8bbf0f09 66
5dea9bd6 67 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
f659880b 68 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
097bd461 69 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
81bc205d 70 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
1bfda055 71 ArmTrustZoneLib|ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
72 ArmMPCoreMailBoxLib|ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf
73
74 PL354SmcSecLib|ArmPkg/Drivers/PL35xSmc/PL354SmcSec.inf
709497d1 75 #PL341DmcLib|ArmPkg/Drivers/PL34xDmc/PL341Dmc.inf
1bfda055 76 PL301AxiLib|ArmPkg/Drivers/PL301Axi/PL301Axi.inf
77 PL310L2CacheSecLib|ArmPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
78
79 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
80
81 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
82
83[LibraryClasses.common.PEIM]
84 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
85 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
86 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
87 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
88 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
8bbf0f09
A
89
90[LibraryClasses.ARM]
8bbf0f09
A
91 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
92
2ef2b01e
A
93
94[Components.common]
95 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
1bfda055 96 ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
97 ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
507ebc1a 98# ArmPkg/Library/ArmLib/Arm11/Arm11ArmLib.inf
99# ArmPkg/Library/ArmLib/Arm11/Arm11ArmLibPrePi.inf
100# ArmPkg/Library/ArmLib/Arm9/Arm9ArmLib.inf
101# ArmPkg/Library/ArmLib/Arm9/Arm9ArmLibPrePi.inf
5dea9bd6 102 ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
103 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
1bfda055 104 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
105 ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf
106 ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibPrePi.inf
107 ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf
2ef2b01e 108 ArmPkg/Library/ArmLib/Null/NullArmLib.inf
1bfda055 109 ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf
110 ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
111 ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
112 ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf
113 ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf
114 ArmPkg/Library/BdsLib/BdsLib.inf
2ef2b01e 115 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
1bfda055 116 ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
117 ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
118 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
119 ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf
120 ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
2ef2b01e
A
121 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
122 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
123 ArmPkg/Library/SemihostLib/SemihostLib.inf
124 ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
125
126 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
1bfda055 127 ArmPkg/Drivers/CpuPei/CpuPei.inf
128 ArmPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
129 ArmPkg/Drivers/PL301Axi/PL301Axi.inf
130 ArmPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
709497d1 131 #ArmPkg/Drivers/PL34xDmc/PL341Dmc.inf
1bfda055 132 ArmPkg/Drivers/PL35xSmc/PL354SmcSec.inf
133 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
134 ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf
135 ArmPkg/Drivers/PL390Gic/PL390GicSec.inf
2ef2b01e 136 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
1bfda055 137 ArmPkg/Universal/MmcDxe/MmcDxe.inf
138
139