1 | #/** @file
|
---|
2 | # ARM platform package.
|
---|
3 | #
|
---|
4 | # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
|
---|
5 | # Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
|
---|
6 | # Copyright (c) 2016 - 2017, Linaro Ltd. All rights reserved.<BR>
|
---|
7 | # Copyright (c) Microsoft Corporation.<BR>
|
---|
8 | #
|
---|
9 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
10 | #
|
---|
11 | #**/
|
---|
12 |
|
---|
13 | ################################################################################
|
---|
14 | #
|
---|
15 | # Defines Section - statements that will be processed to create a Makefile.
|
---|
16 | #
|
---|
17 | ################################################################################
|
---|
18 | [Defines]
|
---|
19 | PLATFORM_NAME = ArmPlatformPkg
|
---|
20 | PLATFORM_GUID = 9ce08891-ac9c-476d-ab04-0c04d3a97544
|
---|
21 | PLATFORM_VERSION = 0.1
|
---|
22 | DSC_SPECIFICATION = 0x0001001A
|
---|
23 | OUTPUT_DIRECTORY = Build/ArmPlatform
|
---|
24 | SUPPORTED_ARCHITECTURES = ARM|AARCH64
|
---|
25 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
---|
26 | SKUID_IDENTIFIER = DEFAULT
|
---|
27 |
|
---|
28 | [BuildOptions]
|
---|
29 | RELEASE_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
|
---|
30 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|
31 |
|
---|
32 | [PcdsFixedAtBuild]
|
---|
33 | gArmTokenSpaceGuid.PcdFdBaseAddress|0x0
|
---|
34 | gArmTokenSpaceGuid.PcdFdSize|0x1000
|
---|
35 |
|
---|
36 | !include MdePkg/MdeLibs.dsc.inc
|
---|
37 |
|
---|
38 | [LibraryClasses.common]
|
---|
39 | ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
|
---|
40 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
---|
41 | ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
---|
42 | ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
|
---|
43 | ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
|
---|
44 | ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
|
---|
45 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
---|
46 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
---|
47 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
---|
48 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
---|
49 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
---|
50 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
---|
51 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
52 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
---|
53 | LcdHwLib|ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf
|
---|
54 | LcdPlatformLib|ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf
|
---|
55 | LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
---|
56 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
57 | MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
|
---|
58 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
59 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
---|
60 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
61 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
---|
62 | PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
|
---|
63 | PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
---|
64 | PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
|
---|
65 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
|
---|
66 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
---|
67 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
---|
68 | TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
|
---|
69 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
---|
70 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
---|
71 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
---|
72 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
---|
73 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
---|
74 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
---|
75 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
76 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
---|
77 |
|
---|
78 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
---|
79 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
---|
80 |
|
---|
81 | [LibraryClasses.common.PEIM]
|
---|
82 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
83 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
84 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
---|
85 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
86 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
---|
87 |
|
---|
88 | [LibraryClasses.common.SEC]
|
---|
89 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
|
---|
90 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
|
---|
91 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
---|
92 | PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
---|
93 |
|
---|
94 | [LibraryClasses.AARCH64.MM_STANDALONE]
|
---|
95 | HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
|
---|
96 | MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
|
---|
97 | MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
|
---|
98 | StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
|
---|
99 |
|
---|
100 | [Components.common]
|
---|
101 | ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
|
---|
102 | ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf
|
---|
103 | ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
|
---|
104 |
|
---|
105 | ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
|
---|
106 | ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
|
---|
107 | ArmPlatformPkg/Library/HdLcd/HdLcd.inf
|
---|
108 | ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf
|
---|
109 | ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf
|
---|
110 | ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
|
---|
111 | ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
|
---|
112 | ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
---|
113 | ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
|
---|
114 | ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.inf
|
---|
115 | ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
---|
116 |
|
---|
117 | ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
|
---|
118 | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
|
---|
119 |
|
---|
120 | ArmPlatformPkg/PlatformPei/PlatformPeim.inf
|
---|
121 | ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
|
---|
122 |
|
---|
123 | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
|
---|
124 | ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
|
---|
125 |
|
---|
126 | ArmPlatformPkg/PrePi/PeiMPCore.inf
|
---|
127 | ArmPlatformPkg/PrePi/PeiUniCore.inf
|
---|
128 |
|
---|
129 | ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.inf
|
---|