Fixes to get CodeSourcery GCC and RVCT 3.1 compiling.
[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
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
62e797a4 59 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
2ef2b01e 60
2ef2b01e
A
61 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
62 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
8bbf0f09 63 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
6f72e28d 64 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
8bbf0f09 65
5dea9bd6 66 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
f659880b 67 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
097bd461 68 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
81bc205d 69 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
1bfda055 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
8bbf0f09
A
88
89[LibraryClasses.ARM]
8bbf0f09
A
90 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
91
2ef2b01e
A
92
93[Components.common]
94 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
1bfda055 95 ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
96 ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
507ebc1a 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
5dea9bd6 101 ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
102 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
1bfda055 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
2ef2b01e 107 ArmPkg/Library/ArmLib/Null/NullArmLib.inf
1bfda055 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
2ef2b01e 114 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
1bfda055 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
2ef2b01e
A
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
1bfda055 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
2ef2b01e 135 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
1bfda055 136 ArmPkg/Universal/MmcDxe/MmcDxe.inf
137
138