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