]>
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 |
5e667630 | 6 | # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r |
1e57a462 | 7 | #\r |
8 | # This program and the accompanying materials\r | |
9 | # are licensed and made available under the terms and conditions of the BSD License\r | |
10 | # which accompanies this distribution. The full text of the license may be found at\r | |
11 | # http://opensource.org/licenses/bsd-license.php\r | |
12 | #\r | |
13 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | #\r | |
16 | #**/\r | |
17 | \r | |
18 | ################################################################################\r | |
19 | #\r | |
20 | # Defines Section - statements that will be processed to create a Makefile.\r | |
21 | #\r | |
22 | ################################################################################\r | |
23 | [Defines]\r | |
24 | PLATFORM_NAME = ArmPkg\r | |
25 | PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F\r | |
26 | PLATFORM_VERSION = 0.1\r | |
27 | DSC_SPECIFICATION = 0x00010005\r | |
28 | OUTPUT_DIRECTORY = Build/Arm\r | |
25402f5d | 29 | SUPPORTED_ARCHITECTURES = ARM|AARCH64\r |
1e57a462 | 30 | BUILD_TARGETS = DEBUG|RELEASE\r |
31 | SKUID_IDENTIFIER = DEFAULT\r | |
32 | \r | |
33 | [BuildOptions]\r | |
34 | XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7\r | |
1e57a462 | 35 | GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -mfpu=neon\r |
58e92b39 AB |
36 | # We use A15 to get the Secure and Virtualization extensions\r |
37 | RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15\r | |
4a8fa966 OM |
38 | \r |
39 | RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
5e667630 | 40 | *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r |
1e57a462 | 41 | \r |
42 | [LibraryClasses.common]\r | |
43 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
44 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
45 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
4bbcc285 | 46 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r |
1e57a462 | 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 | |
061568e2 RC |
61 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r |
62 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
63 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
64 | \r | |
1e57a462 | 65 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r |
1e57a462 | 66 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r |
67 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
2939c778 | 68 | CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
1e57a462 | 69 | \r |
1e57a462 | 70 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r |
017baa1c | 71 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r |
8d13298b | 72 | ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r |
4f6d34b4 | 73 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r |
166c01fb | 74 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
1e57a462 | 75 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r |
1e57a462 | 76 | \r |
77 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
78 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
1e57a462 | 79 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r |
80 | \r | |
81 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r | |
82 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r | |
3402aac7 | 83 | \r |
23b01c83 RC |
84 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
85 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
86 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
87 | \r | |
1e57a462 | 88 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r |
89 | \r | |
c52c592a | 90 | ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r |
820d07ab AB |
91 | ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r |
92 | \r | |
1e57a462 | 93 | [LibraryClasses.common.PEIM]\r |
94 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
95 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
96 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
97 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
98 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
99 | \r | |
bd1d0628 | 100 | [LibraryClasses.ARM, LibraryClasses.AARCH64]\r |
1e57a462 | 101 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r |
102 | \r | |
bd1d0628 OM |
103 | # Add support for GCC stack protector\r |
104 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
25402f5d | 105 | \r |
1e57a462 | 106 | [Components.common]\r |
107 | ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
108 | ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r | |
1e57a462 | 109 | ArmPkg/Library/BdsLib/BdsLib.inf\r |
110 | ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
3eef284c | 111 | ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r |
1e57a462 | 112 | ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r |
1e57a462 | 113 | ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r |
114 | ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
115 | ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf\r | |
116 | ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r | |
117 | ArmPkg/Library/SemihostLib/SemihostLib.inf\r | |
ca3026d3 | 118 | ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r |
2939c778 EC |
119 | ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
120 | ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf\r | |
1e57a462 | 121 | \r |
1e57a462 | 122 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r |
123 | ArmPkg/Drivers/CpuPei/CpuPei.inf\r | |
017baa1c OM |
124 | ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r |
125 | ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r | |
126 | ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf\r | |
0b4d97a0 | 127 | ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.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 |
f8f0e454 | 136 | ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r |
166c01fb | 137 | \r |
1e57a462 | 138 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r |
139 | \r | |
820d07ab AB |
140 | ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r |
141 | \r | |
0d7631f0 AB |
142 | ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf\r |
143 | ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r | |
144 | ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r | |
145 | ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf\r | |
146 | ArmPkg/Library/ArmLib/ArmBaseLib.inf\r | |
147 | ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r | |
148 | ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf\r | |
149 | ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
150 | ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r | |
151 | \r | |
25402f5d | 152 | [Components.AARCH64]\r |
0d7631f0 | 153 | ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf\r |