VirtualBox

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

Last change on this file since 105670 was 99404, checked in by vboxsync, 22 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 6.6 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 = 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
104 #
105 # PRM Module Discovery Library
106 #
107 $(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
108
109 #
110 # PRM PE/COFF Library
111 #
112 $(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
113
114 #
115 # PRM Configuration Driver
116 #
117 $(PLATFORM_PACKAGE)/PrmConfigDxe/PrmConfigDxe.inf {
118 <LibraryClasses>
119 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
120 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
121 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
122 }
123
124 #
125 # PRM Module Loader Driver
126 #
127 $(PLATFORM_PACKAGE)/PrmLoaderDxe/PrmLoaderDxe.inf
128
129 #
130 # PRM SSDT Installation Driver
131 #
132 $(PLATFORM_PACKAGE)/PrmSsdtInstallDxe/PrmSsdtInstallDxe.inf
133
134 #
135 # PRM Sample Modules
136 #
137 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf
138 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf
139
140 #
141 # PRM Information UEFI Application
142 #
143 $(PLATFORM_PACKAGE)/Application/PrmInfo/PrmInfo.inf
144
145[Components.IA32, Components.X64]
146 #
147 # PRM Sample Modules for IA32 and X64
148 #
149 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf
150
151[Components.AARCH64]
152 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
153
154 # Add support for GCC stack protector
155 MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
156
157[BuildOptions]
158# Force deprecated interfaces off
159 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
Note: See TracBrowser for help on using the repository browser.

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