| 1 | #/** @file\r |
| 2 | # ARM processor package.\r |
| 3 | #\r |
| 4 | # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r |
| 5 | # Copyright (c) 2011 - 2018, ARM Ltd. All rights reserved.<BR>\r |
| 6 | # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r |
| 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 |
| 29 | SUPPORTED_ARCHITECTURES = ARM|AARCH64\r |
| 30 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r |
| 31 | SKUID_IDENTIFIER = DEFAULT\r |
| 32 | \r |
| 33 | [BuildOptions]\r |
| 34 | XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7\r |
| 35 | GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -mfpu=neon\r |
| 36 | \r |
| 37 | RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r |
| 38 | *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r |
| 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 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r |
| 45 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r |
| 46 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
| 47 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
| 48 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
| 49 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
| 50 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r |
| 51 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r |
| 52 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r |
| 53 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r |
| 54 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r |
| 55 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r |
| 56 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r |
| 57 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
| 58 | \r |
| 59 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r |
| 60 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r |
| 61 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r |
| 62 | \r |
| 63 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r |
| 64 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r |
| 65 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r |
| 66 | CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
| 67 | \r |
| 68 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r |
| 69 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r |
| 70 | ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r |
| 71 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r |
| 72 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
| 73 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r |
| 74 | OpteeLib|ArmPkg/Library/OpteeLib/OpteeLib.inf\r |
| 75 | \r |
| 76 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r |
| 77 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r |
| 78 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r |
| 79 | \r |
| 80 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r |
| 81 | \r |
| 82 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
| 83 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r |
| 84 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r |
| 85 | \r |
| 86 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r |
| 87 | \r |
| 88 | ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r |
| 89 | ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r |
| 90 | \r |
| 91 | ArmMtlLib|ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf\r |
| 92 | \r |
| 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 |
| 100 | [LibraryClasses.ARM, LibraryClasses.AARCH64]\r |
| 101 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r |
| 102 | \r |
| 103 | # Add support for GCC stack protector\r |
| 104 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r |
| 105 | \r |
| 106 | [Components.common]\r |
| 107 | ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r |
| 108 | ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r |
| 109 | ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r |
| 110 | ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r |
| 111 | ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r |
| 112 | ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r |
| 113 | ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r |
| 114 | ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf\r |
| 115 | ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r |
| 116 | ArmPkg/Library/SemihostLib/SemihostLib.inf\r |
| 117 | ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r |
| 118 | ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
| 119 | ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf\r |
| 120 | \r |
| 121 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r |
| 122 | ArmPkg/Drivers/CpuPei/CpuPei.inf\r |
| 123 | ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r |
| 124 | ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r |
| 125 | ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf\r |
| 126 | ArmPkg/Drivers/TimerDxe/TimerDxe.inf\r |
| 127 | \r |
| 128 | ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r |
| 129 | ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r |
| 130 | \r |
| 131 | ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
| 132 | ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf\r |
| 133 | ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r |
| 134 | ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r |
| 135 | ArmPkg/Library/OpteeLib/OpteeLib.inf\r |
| 136 | \r |
| 137 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r |
| 138 | \r |
| 139 | ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r |
| 140 | \r |
| 141 | ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf\r |
| 142 | ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r |
| 143 | ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r |
| 144 | ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf\r |
| 145 | ArmPkg/Library/ArmLib/ArmBaseLib.inf\r |
| 146 | ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r |
| 147 | ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf\r |
| 148 | ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r |
| 149 | ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r |
| 150 | \r |
| 151 | ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf\r |
| 152 | \r |
| 153 | [Components.AARCH64]\r |
| 154 | ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf\r |