]> git.proxmox.com Git - mirror_edk2.git/blob - PrmPkg/PrmPkg.dsc
.azurepipelines: Add IntelFsp2Pkg and IntelFsp2WrapperPkg to CI
[mirror_edk2.git] / PrmPkg / PrmPkg.dsc
1 ## @file
2 # Build description file for PrmPkg
3 #
4 # Copyright (C) Microsoft Corporation
5 # Copyright (c) 2022, Arm Limited. All rights reserved.<BR>
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 ##
8
9 [Defines]
10 PLATFORM_NAME = Prm
11 PLATFORM_GUID = C29BB610-84F9-448D-A7DD-5A04C5A54F52
12 PLATFORM_VERSION = 0.1
13 DSC_SPECIFICATION = 0x00010005
14 OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
15 SUPPORTED_ARCHITECTURES = IA32|X64|AARCH64
16 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
17 SKUID_IDENTIFIER = DEFAULT
18
19 DEFINE PLATFORM_PACKAGE = $(PLATFORM_NAME)Pkg
20
21 [LibraryClasses.common]
22 #
23 # EDK II Packages
24 #
25 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
26 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
27 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
28 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
29 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
30 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
31 MemoryAllocationLib|MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf
32 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
33 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
34 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
35 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
36 RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
37 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
39 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
40
41 [LibraryClasses.IA32, LibraryClasses.X64]
42 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
43
44 [LibraryClasses.AARCH64]
45 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
46 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
47
48 [LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
49 #
50 # EDK II Packages
51 #
52 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
53 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
54 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
55 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
56 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
57 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
58 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
59 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
60 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
61
62 #
63 # PRM Package
64 #
65 PrmContextBufferLib|$(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
66 PrmModuleDiscoveryLib|$(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
67 PrmPeCoffLib|$(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
68
69
70 [LibraryClasses.common.UEFI_APPLICATION]
71 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
72 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
73 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
74 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
75 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
76 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
77 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
78
79 ################################################################################
80 #
81 # Pcd Section - List of PCD entries modified by this package
82 #
83 ################################################################################
84
85 [PcdsFixedAtBuild.common]
86 gPrmPkgTokenSpaceGuid.PcdPrmInfoPrintHandlerExecutionTime|FALSE
87
88 ###################################################################################################
89 #
90 # Components Section - List of the modules and components that will be processed by compilation
91 # tools and the EDK II tools to generate PE32/PE32+/Coff image file.
92 #
93 ###################################################################################################
94
95 [Components]
96 #
97 # PRM Libraries
98 #
99 $(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
100 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
101 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
102 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
103 $(PLATFORM_PACKAGE)/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiBootServicesTableLibUnitTest.inf
104
105 #
106 # PRM Module Discovery Library
107 #
108 $(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
109
110 #
111 # PRM PE/COFF Library
112 #
113 $(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
114
115 #
116 # PRM Configuration Driver
117 #
118 $(PLATFORM_PACKAGE)/PrmConfigDxe/PrmConfigDxe.inf {
119 <LibraryClasses>
120 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
121 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
122 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
123 }
124
125 #
126 # PRM Module Loader Driver
127 #
128 $(PLATFORM_PACKAGE)/PrmLoaderDxe/PrmLoaderDxe.inf
129
130 #
131 # PRM SSDT Installation Driver
132 #
133 $(PLATFORM_PACKAGE)/PrmSsdtInstallDxe/PrmSsdtInstallDxe.inf
134
135 #
136 # PRM Sample Modules
137 #
138 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf
139 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf
140
141 #
142 # PRM Information UEFI Application
143 #
144 $(PLATFORM_PACKAGE)/Application/PrmInfo/PrmInfo.inf
145
146 [Components.IA32, Components.X64]
147 #
148 # PRM Sample Modules for IA32 and X64
149 #
150 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf
151
152 [Components.AARCH64]
153 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
154
155 # Add support for GCC stack protector
156 MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
157
158 [BuildOptions]
159 # Force deprecated interfaces off
160 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES