]> git.proxmox.com Git - mirror_edk2.git/blob - PrmPkg/PrmPkg.dsc
91115830240431a31af70d476213d2ead472eb3a
[mirror_edk2.git] / PrmPkg / PrmPkg.dsc
1 ## @file
2 # Build description file for PrmPkg
3 #
4 # Copyright (C) Microsoft Corporation
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 ##
7
8 [Defines]
9 PLATFORM_NAME = Prm
10 PLATFORM_GUID = C29BB610-84F9-448D-A7DD-5A04C5A54F52
11 PLATFORM_VERSION = 0.1
12 DSC_SPECIFICATION = 0x00010005
13 OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
14 SUPPORTED_ARCHITECTURES = IA32|X64
15 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
16 SKUID_IDENTIFIER = DEFAULT
17
18 DEFINE PLATFORM_PACKAGE = $(PLATFORM_NAME)Pkg
19
20 [LibraryClasses.common]
21 #
22 # EDK II Packages
23 #
24 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
25 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
26 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
27 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
28 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
29 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
30 MemoryAllocationLib|MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf
31 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.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.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
42 #
43 # EDK II Packages
44 #
45 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
46 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
47 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
48 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
49 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
50 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
51 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
52 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
53 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
54
55 #
56 # PRM Package
57 #
58 PrmContextBufferLib|$(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
59 PrmModuleDiscoveryLib|$(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
60 PrmPeCoffLib|$(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
61
62
63 [LibraryClasses.common.UEFI_APPLICATION]
64 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
65 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
66 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
67 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
68 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
69 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
70 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
71
72 ################################################################################
73 #
74 # Pcd Section - List of PCD entries modified by this package
75 #
76 ################################################################################
77
78 [PcdsFixedAtBuild.common]
79 gPrmPkgTokenSpaceGuid.PcdPrmInfoPrintHandlerExecutionTime|FALSE
80
81 ###################################################################################################
82 #
83 # Components Section - List of the modules and components that will be processed by compilation
84 # tools and the EDK II tools to generate PE32/PE32+/Coff image file.
85 #
86 ###################################################################################################
87
88 [Components]
89 #
90 # PRM Libraries
91 #
92 $(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
93 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
94 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
95 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
96 $(PLATFORM_PACKAGE)/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiBootServicesTableLibUnitTest.inf
97
98 #
99 # PRM Module Discovery Library
100 #
101 $(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
102
103 #
104 # PRM PE/COFF Library
105 #
106 $(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
107
108 #
109 # PRM Configuration Driver
110 #
111 $(PLATFORM_PACKAGE)/PrmConfigDxe/PrmConfigDxe.inf {
112 <LibraryClasses>
113 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
114 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
115 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
116 }
117
118 #
119 # PRM Module Loader Driver
120 #
121 $(PLATFORM_PACKAGE)/PrmLoaderDxe/PrmLoaderDxe.inf
122
123 #
124 # PRM SSDT Installation Driver
125 #
126 $(PLATFORM_PACKAGE)/PrmSsdtInstallDxe/PrmSsdtInstallDxe.inf
127
128 #
129 # PRM Sample Modules
130 #
131 $(PLATFORM_PACKAGE)/Samples/PrmSamplePrintModule/PrmSamplePrintModule.inf
132 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf
133 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf {
134 <LibraryClasses>
135 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
136 }
137 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf
138
139 #
140 # PRM Information UEFI Application
141 #
142 $(PLATFORM_PACKAGE)/Application/PrmInfo/PrmInfo.inf
143
144 #
145 # The SampleMemoryAllocationModule was used during a time in the POC when the OS
146 # provided memory allocation services. This module was successful in using those services.
147 # Since OS services have been removed (aside from debug prints), this module is no longer
148 # relevant but kept around for archival purposes.
149 #
150 #$(PLATFORM_PACKAGE)/Samples/PrmSampleMemoryAllocationModule/PrmSampleMemoryAllocationModule.inf
151
152 [BuildOptions]
153 # Force deprecated interfaces off
154 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES