]> git.proxmox.com Git - mirror_edk2.git/blob - PrmPkg/PrmPkg.dsc
e876f2053a8e731004330a1e4afdde1eec4c3c32
[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
40 [LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER]
41 #
42 # EDK II Packages
43 #
44 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
45 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
46 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
47 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
48 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
49 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
50 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
51 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
52 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
53
54 #
55 # PRM Package
56 #
57 PrmContextBufferLib|$(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
58 PrmModuleDiscoveryLib|$(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
59 PrmPeCoffLib|$(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
60
61
62 ###################################################################################################
63 #
64 # Components Section - List of the modules and components that will be processed by compilation
65 # tools and the EDK II tools to generate PE32/PE32+/Coff image file.
66 #
67 ###################################################################################################
68
69 [Components]
70 #
71 # PRM Libraries
72 #
73 $(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
74 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
75 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
76 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
77
78 #
79 # PRM Module Discovery Library
80 #
81 $(PLATFORM_PACKAGE)/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.inf
82
83 #
84 # PRM PE/COFF Library
85 #
86 $(PLATFORM_PACKAGE)/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.inf
87
88 #
89 # PRM Configuration Driver
90 #
91 $(PLATFORM_PACKAGE)/PrmConfigDxe/PrmConfigDxe.inf {
92 <LibraryClasses>
93 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf
94 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf
95 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf
96 }
97
98 #
99 # PRM Module Loader Driver
100 #
101 $(PLATFORM_PACKAGE)/PrmLoaderDxe/PrmLoaderDxe.inf
102
103 #
104 # PRM SSDT Installation Driver
105 #
106 $(PLATFORM_PACKAGE)/PrmSsdtInstallDxe/PrmSsdtInstallDxe.inf
107
108 #
109 # PRM Sample Modules
110 #
111 $(PLATFORM_PACKAGE)/Samples/PrmSamplePrintModule/PrmSamplePrintModule.inf
112 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf
113 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf {
114 <LibraryClasses>
115 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
116 }
117 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf
118
119 #
120 # The SampleMemoryAllocationModule was used during a time in the POC when the OS
121 # provided memory allocation services. This module was successful in using those services.
122 # Since OS services have been removed (aside from debug prints), this module is no longer
123 # relevant but kept around for archival purposes.
124 #
125 #$(PLATFORM_PACKAGE)/Samples/PrmSampleMemoryAllocationModule/PrmSampleMemoryAllocationModule.inf
126
127 [BuildOptions]
128 # Force deprecated interfaces off
129 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES