]> git.proxmox.com Git - mirror_edk2.git/blame - PrmPkg/PrmPkg.dsc
PrmPkg/Application/PrmInfo: Add initial application
[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
96\r
6b7dde7c
MK
97 #\r
98 # PRM Module Discovery Library\r
99 #\r
100 $(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf\r
101\r
102 #\r
103 # PRM PE/COFF Library\r
104 #\r
105 $(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf\r
106\r
97ab54c1
MK
107 #\r
108 # PRM Configuration Driver\r
109 #\r
110 $(PLATFORM_PACKAGE)/PrmConfigDxe/PrmConfigDxe.inf {\r
111 <LibraryClasses>\r
72172635 112 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf\r
97ab54c1 113 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf\r
fec01862 114 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf\r
97ab54c1
MK
115 }\r
116\r
117 #\r
118 # PRM Module Loader Driver\r
119 #\r
120 $(PLATFORM_PACKAGE)/PrmLoaderDxe/PrmLoaderDxe.inf\r
121\r
50e1432a
MK
122 #\r
123 # PRM SSDT Installation Driver\r
124 #\r
125 $(PLATFORM_PACKAGE)/PrmSsdtInstallDxe/PrmSsdtInstallDxe.inf\r
126\r
97ab54c1
MK
127 #\r
128 # PRM Sample Modules\r
129 #\r
130 $(PLATFORM_PACKAGE)/Samples/PrmSamplePrintModule/PrmSamplePrintModule.inf\r
72172635 131 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf\r
97ab54c1
MK
132 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf {\r
133 <LibraryClasses>\r
134 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
135 }\r
136 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf\r
137\r
4348c72a
MK
138 #\r
139 # PRM Information UEFI Application\r
140 #\r
141 $(PLATFORM_PACKAGE)/Application/PrmInfo/PrmInfo.inf\r
142\r
97ab54c1
MK
143 #\r
144 # The SampleMemoryAllocationModule was used during a time in the POC when the OS\r
145 # provided memory allocation services. This module was successful in using those services.\r
146 # Since OS services have been removed (aside from debug prints), this module is no longer\r
147 # relevant but kept around for archival purposes.\r
148 #\r
149 #$(PLATFORM_PACKAGE)/Samples/PrmSampleMemoryAllocationModule/PrmSampleMemoryAllocationModule.inf\r
150\r
151[BuildOptions]\r
152# Force deprecated interfaces off\r
153 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r