VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/PrmPkg.dsc@ 108794

Last change on this file since 108794 was 108794, checked in by vboxsync, 3 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 6.3 KB
Line 
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 = X64|AARCH64
16 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
17 SKUID_IDENTIFIER = DEFAULT
18
19 DEFINE PLATFORM_PACKAGE = $(PLATFORM_NAME)Pkg
20
21!include MdePkg/MdeLibs.dsc.inc
22
23[LibraryClasses.common]
24 #
25 # EDK II Packages
26 #
27 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
28 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
29 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
30 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
31 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
32 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
33 MemoryAllocationLib|MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf
34 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
35 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
36 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
37 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
38 RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
39 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
40 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
41 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
42
43[LibraryClasses.X64]
44 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
45
46[LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
47 #
48 # EDK II Packages
49 #
50 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
51 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
52 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
53 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
55 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
56 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
57 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
58 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
59
60 #
61 # PRM Package
62 #
63 PrmContextBufferLib|$(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
64 PrmModuleDiscoveryLib|$(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
65 PrmPeCoffLib|$(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
66
67
68[LibraryClasses.common.UEFI_APPLICATION]
69 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
70 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
71 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
72 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
73 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
74 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
75 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
76
77################################################################################
78#
79# Pcd Section - List of PCD entries modified by this package
80#
81################################################################################
82
83[PcdsFixedAtBuild.common]
84 gPrmPkgTokenSpaceGuid.PcdPrmInfoPrintHandlerExecutionTime|FALSE
85
86###################################################################################################
87#
88# Components Section - List of the modules and components that will be processed by compilation
89# tools and the EDK II tools to generate PE32/PE32+/Coff image file.
90#
91###################################################################################################
92
93[Components]
94 #
95 # PRM Libraries
96 #
97 $(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
98 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
99 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
100 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
101
102 #
103 # PRM Module Discovery Library
104 #
105 $(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
106
107 #
108 # PRM PE/COFF Library
109 #
110 $(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
111
112 #
113 # PRM Configuration Driver
114 #
115 $(PLATFORM_PACKAGE)/PrmConfigDxe/PrmConfigDxe.inf {
116 <LibraryClasses>
117 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
118 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
119 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
120 }
121
122 #
123 # PRM Module Loader Driver
124 #
125 $(PLATFORM_PACKAGE)/PrmLoaderDxe/PrmLoaderDxe.inf
126
127 #
128 # PRM SSDT Installation Driver
129 #
130 $(PLATFORM_PACKAGE)/PrmSsdtInstallDxe/PrmSsdtInstallDxe.inf
131
132 #
133 # PRM Sample Modules
134 #
135 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf
136 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf
137
138 #
139 # PRM Information UEFI Application
140 #
141 $(PLATFORM_PACKAGE)/Application/PrmInfo/PrmInfo.inf
142
143[Components.X64]
144 #
145 # PRM Sample Modules for X64
146 #
147 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf
148
149[BuildOptions]
150# Force deprecated interfaces off
151 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette