]>
Commit | Line | Data |
---|---|---|
1e57a462 | 1 | #/** @file\r |
2 | # ARM processor package.\r | |
3 | #\r | |
4 | # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r | |
04f1a709 | 5 | # Copyright (c) 2011 - 2015, 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 | |
1e57a462 | 34 | GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -mfpu=neon\r |
58e92b39 AB |
35 | # We use A15 to get the Secure and Virtualization extensions\r |
36 | RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15\r | |
4a8fa966 OM |
37 | \r |
38 | RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
1e57a462 | 39 | \r |
40 | [LibraryClasses.common]\r | |
41 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
42 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
43 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
44 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
45 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
46 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
47 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
48 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
49 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
50 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
51 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
52 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
53 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
54 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
ef0fa8e1 | 55 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r |
1e57a462 | 56 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
57 | \r | |
061568e2 RC |
58 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r |
59 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
60 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
61 | \r | |
1e57a462 | 62 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r |
63 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
64 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
65 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
2939c778 | 66 | CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
1e57a462 | 67 | \r |
1e57a462 | 68 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r |
017baa1c | 69 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r |
8d13298b | 70 | ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r |
4f6d34b4 | 71 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r |
166c01fb | 72 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
1e57a462 | 73 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r |
74 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r | |
1e57a462 | 75 | \r |
76 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
77 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
1e57a462 | 78 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r |
79 | \r | |
80 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r | |
81 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r | |
3402aac7 | 82 | \r |
23b01c83 RC |
83 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
84 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
85 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
86 | \r | |
1e57a462 | 87 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r |
88 | \r | |
25402f5d HL |
89 | [LibraryClasses.ARM]\r |
90 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r | |
91 | \r | |
92 | [LibraryClasses.AARCH64]\r | |
93 | ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf\r | |
94 | \r | |
1e57a462 | 95 | [LibraryClasses.common.PEIM]\r |
96 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
97 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
98 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
99 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
100 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
101 | \r | |
bd1d0628 | 102 | [LibraryClasses.ARM, LibraryClasses.AARCH64]\r |
1e57a462 | 103 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r |
104 | \r | |
bd1d0628 OM |
105 | # Add support for GCC stack protector\r |
106 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
25402f5d | 107 | \r |
1e57a462 | 108 | [Components.common]\r |
109 | ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
110 | ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r | |
111 | ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r | |
1e57a462 | 112 | ArmPkg/Library/ArmLib/Null/NullArmLib.inf\r |
113 | ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r | |
1e57a462 | 114 | ArmPkg/Library/BdsLib/BdsLib.inf\r |
115 | ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
3eef284c | 116 | ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r |
1e57a462 | 117 | ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r |
118 | ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r | |
119 | ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
120 | ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
121 | ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf\r | |
122 | ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r | |
123 | ArmPkg/Library/SemihostLib/SemihostLib.inf\r | |
124 | ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
ca3026d3 | 125 | ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r |
2939c778 EC |
126 | ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
127 | ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf\r | |
1e57a462 | 128 | \r |
1e57a462 | 129 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r |
130 | ArmPkg/Drivers/CpuPei/CpuPei.inf\r | |
017baa1c OM |
131 | ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r |
132 | ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r | |
133 | ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf\r | |
0b4d97a0 | 134 | ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf\r |
1e57a462 | 135 | ArmPkg/Drivers/TimerDxe/TimerDxe.inf\r |
136 | \r | |
cece12d3 | 137 | ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r |
bcf37cf6 | 138 | ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r |
cece12d3 | 139 | \r |
166c01fb | 140 | ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
141 | ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf\r | |
58e92b39 | 142 | ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r |
166c01fb | 143 | \r |
1e57a462 | 144 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r |
145 | \r | |
23b01c83 | 146 | ArmPkg/Application/LinuxLoader/LinuxLoader.inf\r |
25402f5d HL |
147 | \r |
148 | [Components.ARM]\r | |
149 | ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf\r | |
150 | \r | |
151 | ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf\r | |
152 | ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf\r | |
153 | ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.inf\r | |
154 | \r | |
25402f5d HL |
155 | ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r |
156 | ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf\r | |
157 | \r | |
158 | [Components.AARCH64]\r | |
159 | ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf\r | |
160 | ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.inf\r | |
161 | \r | |
162 | ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf\r | |
163 | ArmPkg/Library/ArmLib/AArch64/AArch64LibPrePi.inf\r |