Adding a Debug version of the UncachedMemoryAllocationLib that will make the PCI...
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
1 #/** @file
2 # ARM processor package.
3 #
4 # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.
5 #
6 # All rights reserved. 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
32 [LibraryClasses.common]
33 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
34 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
35 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
36 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
37 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
38 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
39 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
40 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
41 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
42 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
43 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
44 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
45 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
46
47 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
48 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
49 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
50
51 ArmLib|ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLib.inf
52
53 [LibraryClasses.ARM]
54 #
55 # Note: This NULL library feature is not yet in the edk2/BaseTools, but it is checked in to
56 # the BaseTools project. So you need to build with the BaseTools project util this feature gets synced.
57 #
58 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
59
60 [BuildOptions]
61 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv6 -march=armv6
62 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv6
63 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv6
64
65 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8
66 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8
67
68
69 [Components.common]
70 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
71 ArmPkg/Library/ArmLib/Arm11/Arm11ArmLib.inf
72 ArmPkg/Library/ArmLib/Arm11/Arm11ArmLibPrePi.inf
73 ArmPkg/Library/ArmLib/Arm9/Arm9ArmLib.inf
74 ArmPkg/Library/ArmLib/Arm9/Arm9ArmLibPrePi.inf
75 ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLib.inf
76 ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLibPrePi.inf
77 ArmPkg/Library/ArmLib/Null/NullArmLib.inf
78 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
79 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
80 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
81 ArmPkg/Library/SemihostLib/SemihostLib.inf
82 ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
83 ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
84
85 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
86 ArmPkg/Drivers/DebugSupportDxe/DebugSupportDxe.inf
87 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf