]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/ArmPkg.dsc
Add TPM2 commands which might be used in field upgrade.
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
CommitLineData
1e57a462 1#/** @file\r
2# ARM processor package.\r
3#\r
4# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r
bd1d0628 5# Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>\r
1e57a462 6#\r
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15#**/\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = ArmPkg\r
24 PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F\r
25 PLATFORM_VERSION = 0.1\r
26 DSC_SPECIFICATION = 0x00010005\r
27 OUTPUT_DIRECTORY = Build/Arm\r
25402f5d 28 SUPPORTED_ARCHITECTURES = ARM|AARCH64\r
1e57a462 29 BUILD_TARGETS = DEBUG|RELEASE\r
30 SKUID_IDENTIFIER = DEFAULT\r
31\r
32[BuildOptions]\r
33 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7\r
3402aac7
RC
34 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
35\r
1e57a462 36 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -mfpu=neon\r
3402aac7 37 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
1e57a462 38\r
58e92b39
AB
39 # We use A15 to get the Secure and Virtualization extensions\r
40 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15\r
3402aac7 41 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
1e57a462 42\r
43[LibraryClasses.common]\r
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
45 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
46 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
47 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
48 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
49 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
50 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
51 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
52 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
53 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
54 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
55 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
56 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
57 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
ef0fa8e1 58 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
1e57a462 59 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
60\r
61 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
62 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
63 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
64 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
65\r
1e57a462 66 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
017baa1c 67 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
4f6d34b4 68 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
166c01fb 69 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
1e57a462 70 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
71 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
1e57a462 72\r
73 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
74 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
1e57a462 75 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
76\r
77 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
78 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
3402aac7 79\r
1e57a462 80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
81\r
25402f5d
HL
82[LibraryClasses.ARM]\r
83 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
84\r
85[LibraryClasses.AARCH64]\r
86 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf\r
87\r
1e57a462 88[LibraryClasses.common.PEIM]\r
89 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
90 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
91 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
92 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
93 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
94\r
95[LibraryClasses.common.DXE_DRIVER]\r
96 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf\r
97\r
bd1d0628 98[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
1e57a462 99 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
100\r
bd1d0628
OM
101 # Add support for GCC stack protector\r
102 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
25402f5d 103\r
1e57a462 104[Components.common]\r
105 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
106 ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
107 ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
1e57a462 108 ArmPkg/Library/ArmLib/Null/NullArmLib.inf\r
109 ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r
1e57a462 110 ArmPkg/Library/BdsLib/BdsLib.inf\r
111 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
3eef284c 112 ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r
1e57a462 113 ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
114 ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
115 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
116 ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
117 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf\r
118 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r
119 ArmPkg/Library/SemihostLib/SemihostLib.inf\r
120 ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
ca3026d3 121 ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r
1e57a462 122\r
1e57a462 123 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
124 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
017baa1c
OM
125 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
126 ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
127 ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf\r
1e57a462 128 ArmPkg/Drivers/TimerDxe/TimerDxe.inf\r
129\r
cece12d3 130 ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
bcf37cf6 131 ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r
cece12d3 132\r
166c01fb 133 ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
134 ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf\r
58e92b39 135 ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r
166c01fb 136\r
1e57a462 137 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
138\r
1e57a462 139 ArmPkg/Application/LinuxLoader/LinuxFdtLoader.inf\r
25402f5d
HL
140\r
141[Components.ARM]\r
142 ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf\r
143\r
144 ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf\r
145 ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf\r
146 ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.inf\r
147\r
148# ArmPkg/Library/ArmLib/Arm11/Arm11ArmLib.inf\r
149# ArmPkg/Library/ArmLib/Arm11/Arm11ArmLibPrePi.inf\r
150# ArmPkg/Library/ArmLib/Arm9/Arm9ArmLib.inf\r
151# ArmPkg/Library/ArmLib/Arm9/Arm9ArmLibPrePi.inf\r
152 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r
153 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf\r
154\r
634bdd9f
HL
155 ArmPkg/Application/LinuxLoader/LinuxAtagLoader.inf\r
156\r
25402f5d
HL
157[Components.AARCH64]\r
158 ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf\r
159 ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.inf\r
160\r
161 ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf\r
162 ArmPkg/Library/ArmLib/AArch64/AArch64LibPrePi.inf\r