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