2013-01-25 12:28:06 +01:00
|
|
|
#/** @file
|
|
|
|
# ARM processor package.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
|
2015-02-26 11:54:39 +01:00
|
|
|
# Copyright (c) 2011 - 2015, ARM Ltd. All rights reserved.<BR>
|
2016-10-24 17:33:32 +02:00
|
|
|
# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
|
2013-01-25 12:28:06 +01:00
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = ArmPkg
|
|
|
|
PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F
|
|
|
|
PLATFORM_VERSION = 0.1
|
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
OUTPUT_DIRECTORY = Build/Arm
|
2013-07-18 20:07:46 +02:00
|
|
|
SUPPORTED_ARCHITECTURES = ARM|AARCH64
|
2013-01-25 12:28:06 +01:00
|
|
|
BUILD_TARGETS = DEBUG|RELEASE
|
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
|
|
|
[BuildOptions]
|
|
|
|
XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
|
|
|
|
GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -mfpu=neon
|
2014-09-10 20:46:23 +02:00
|
|
|
# We use A15 to get the Secure and Virtualization extensions
|
|
|
|
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15
|
2014-12-12 19:58:47 +01:00
|
|
|
|
|
|
|
RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
2016-10-24 17:33:32 +02:00
|
|
|
*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
[LibraryClasses.common]
|
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
|
|
CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
2017-09-11 18:50:29 +02:00
|
|
|
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
|
|
|
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
2014-07-29 16:13:21 +02:00
|
|
|
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
|
|
|
|
2014-12-12 20:14:22 +01:00
|
|
|
NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
|
|
|
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
|
|
|
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
|
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
|
|
|
DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
|
2016-03-07 16:16:35 +01:00
|
|
|
CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
2013-10-29 07:36:34 +01:00
|
|
|
ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
2015-07-28 22:44:44 +02:00
|
|
|
ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
|
2014-09-09 18:10:18 +02:00
|
|
|
ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
|
2013-03-06 01:01:49 +01:00
|
|
|
ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
|
|
|
|
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
|
|
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
|
|
|
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
|
|
|
|
|
|
|
BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
|
|
|
|
FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2015-07-06 18:49:40 +02:00
|
|
|
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
|
|
|
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
|
|
|
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
|
|
|
|
2016-09-05 12:25:18 +02:00
|
|
|
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
2016-08-10 14:08:50 +02:00
|
|
|
ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
|
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
[LibraryClasses.common.PEIM]
|
|
|
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
|
|
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
|
|
|
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
|
|
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
|
|
|
|
2014-08-20 20:01:50 +02:00
|
|
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
2013-01-25 12:28:06 +01:00
|
|
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
|
|
|
2014-08-20 20:01:50 +02:00
|
|
|
# Add support for GCC stack protector
|
|
|
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
2013-07-18 20:07:46 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
[Components.common]
|
|
|
|
ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
|
|
|
ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
|
|
|
ArmPkg/Library/BdsLib/BdsLib.inf
|
|
|
|
ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
2013-01-25 13:07:00 +01:00
|
|
|
ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
|
|
|
|
ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
|
|
|
|
ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
|
|
|
|
ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
|
|
|
|
ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
|
|
|
|
ArmPkg/Library/SemihostLib/SemihostLib.inf
|
2014-09-10 20:47:30 +02:00
|
|
|
ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
|
2016-03-07 16:16:35 +01:00
|
|
|
ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
|
|
|
|
ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
ArmPkg/Drivers/CpuDxe/CpuDxe.inf
|
|
|
|
ArmPkg/Drivers/CpuPei/CpuPei.inf
|
2013-10-29 07:36:34 +01:00
|
|
|
ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
|
|
|
|
ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
|
|
|
ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
|
2014-12-12 20:09:24 +01:00
|
|
|
ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
ArmPkg/Drivers/TimerDxe/TimerDxe.inf
|
|
|
|
|
2014-09-09 18:06:10 +02:00
|
|
|
ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
|
2014-09-09 18:07:43 +02:00
|
|
|
ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
|
2014-09-09 18:06:10 +02:00
|
|
|
|
2013-03-06 01:01:49 +01:00
|
|
|
ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
|
|
|
|
ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf
|
2014-09-10 20:46:23 +02:00
|
|
|
ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
|
2017-09-20 21:48:11 +02:00
|
|
|
ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
|
2013-03-06 01:01:49 +01:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
|
|
|
|
|
2016-08-10 14:08:50 +02:00
|
|
|
ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
|
|
|
|
|
2016-10-24 17:11:07 +02:00
|
|
|
ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
|
|
|
|
ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
|
|
|
|
ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
|
|
|
|
ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
|
|
|
|
ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
|
|
|
ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
|
|
|
|
ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
|
|
|
|
ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
|
|
|
ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
|
|
|
|
|
2013-07-18 20:07:46 +02:00
|
|
|
[Components.AARCH64]
|
2016-10-24 17:11:07 +02:00
|
|
|
ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf
|