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