]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - DuetPkg/DuetPkgIa32.dsc
BaseTools/BinToPcd: Fix Python 2.7.x compatibility issue
[mirror_edk2.git] / DuetPkg / DuetPkgIa32.dsc
... / ...
CommitLineData
1## @file\r
2# An EFI/Framework Emulation Platform with UEFI HII interface supported.\r
3#\r
4# Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS,\r
5# to help developing and debugging native EFI/UEFI drivers.\r
6#\r
7# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
8#\r
9# This program and the accompanying materials\r
10# are licensed and made available under the terms and conditions of the BSD License\r
11# which accompanies this distribution. The full text of the license may be found at\r
12# http://opensource.org/licenses/bsd-license.php\r
13#\r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
17##\r
18\r
19################################################################################\r
20#\r
21# Defines Section - statements that will be processed to create a Makefile.\r
22#\r
23################################################################################\r
24[Defines]\r
25 PLATFORM_NAME = DuetPkg\r
26 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72\r
27 PLATFORM_VERSION = 0.4\r
28 DSC_SPECIFICATION = 0x00010005\r
29 OUTPUT_DIRECTORY = Build/DuetPkgIA32\r
30 SUPPORTED_ARCHITECTURES = IA32\r
31 BUILD_TARGETS = DEBUG\r
32 SKUID_IDENTIFIER = DEFAULT\r
33 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf\r
34!if $(TOOL_CHAIN_TAG) == GCC47 || $(TOOL_CHAIN_TAG) == GCC48 || $(TOOL_CHAIN_TAG) == GCC49 || $(TOOL_CHAIN_TAG) == GCC5\r
35 POSTBUILD = DuetPkg/PostBuild.sh\r
36!else\r
37 POSTBUILD = DuetPkg/PostBuild.bat\r
38!endif\r
39\r
40################################################################################\r
41#\r
42# Library Class section - list of all Library Classes needed by this Platform.\r
43#\r
44################################################################################\r
45[LibraryClasses]\r
46 #\r
47 # Entry point\r
48 #\r
49 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
50 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
51 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
52 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
53 #\r
54 # Basic\r
55 #\r
56 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
57 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
58 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
59 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
60 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
61 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
62 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
63 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
64 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
65 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
66 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
67 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
68 #\r
69 # UEFI & PI\r
70 #\r
71 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
72 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
73 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
74 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
75 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
76 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
77 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
78 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
79 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
80 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
81 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
82\r
83 #\r
84 # Generic Modules\r
85 #\r
86 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
87 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
88 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
89 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
90 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
91 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
92 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
93 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
94 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
95 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
96 #\r
97 # Platform\r
98 #\r
99 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf\r
100 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf\r
101 #\r
102 # Misc\r
103 #\r
104 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
105 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
106 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
107 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
108 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
109 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
110 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
111 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
112 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
113 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
114 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
115 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
116 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r
117 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
118\r
119 #\r
120 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.\r
121 # If need status code output, do library instance overriden as below DxeMain.inf does\r
122 #\r
123 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
124 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
125 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
126\r
127[LibraryClasses.common.DXE_CORE]\r
128 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
129 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
130\r
131################################################################################\r
132#\r
133# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
134#\r
135################################################################################\r
136[PcdsFixedAtBuild]\r
137 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0\r
138 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
139 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0\r
140 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
141\r
142[PcdsFeatureFlag]\r
143 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
144\r
145###################################################################################################\r
146#\r
147# Components Section - list of the modules and components that will be processed by compilation\r
148# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
149#\r
150# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
151# into firmware volume images. This section is just a list of modules to compile from\r
152# source into UEFI-compliant binaries.\r
153# It is the FDF file that contains information on combining binary files into firmware\r
154# volume images, whose concept is beyond UEFI and is described in PI specification.\r
155# Binary modules do not need to be listed in this section, as they should be\r
156# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
157# Logo (Logo.bmp), and etc.\r
158# There may also be modules listed in this section that are not required in the FDF file,\r
159# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
160# generated for it, but the binary will not be put into any firmware volume.\r
161#\r
162###################################################################################################\r
163[Components]\r
164 DuetPkg/DxeIpl/DxeIpl.inf {\r
165 <LibraryClasses>\r
166 #\r
167 # If no following overriden for ReportStatusCodeLib library class,\r
168 # All other module can *not* output debug information even they are use not NULL library\r
169 # instance for DebugLib and ReportStatusCodeLib\r
170 #\r
171 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
172 }\r
173\r
174 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
175 #\r
176 # Enable debug output for DxeCore module, this is a sample for how to enable debug output\r
177 # for a module. If need turn on debug output for other module, please copy following overriden\r
178 # PCD and library instance to other module's override section.\r
179 #\r
180 <PcdsFixedAtBuild>\r
181 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
182 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
183 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
184 <LibraryClasses>\r
185 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
186 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf\r
187 }\r
188\r
189 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
190 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
191 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
192 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
193\r
194 DuetPkg/FSVariable/FSVariable.inf\r
195 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
196 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
197 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
198 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
199 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
200 <LibraryClasses>\r
201 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
202 }\r
203 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
204 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
205 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
206\r
207 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
208 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
209 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
210 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
211\r
212\r
213 DuetPkg/SmbiosGenDxe/SmbiosGen.inf\r
214 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
215 DuetPkg/EfiLdr/EfiLdr.inf {\r
216 <LibraryClasses>\r
217 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
218 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
219 }\r
220 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
221 <LibraryClasses>\r
222 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
223 }\r
224 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
225 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
226 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
227 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
228 DuetPkg/AcpiResetDxe/Reset.inf\r
229 DuetPkg/LegacyMetronome/Metronome.inf\r
230\r
231 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
232 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
233 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
234 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
235 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
236 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
237\r
238 # IDE/AHCI Support\r
239 DuetPkg/SataControllerDxe/SataControllerDxe.inf\r
240 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
241 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
242 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
243 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
244\r
245 # Usb Support\r
246 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
247 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
248 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
249 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
250 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
251\r
252 # ISA Support\r
253 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
254 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
255 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
256 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
257 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
258\r
259 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
260 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
261 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
262 FatPkg/EnhancedFatDxe/Fat.inf\r
263\r
264 # Bios Thunk\r
265 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf\r
266\r
267 #\r
268 # Sample Application\r
269 #\r
270 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
271\r
272###################################################################################################\r
273#\r
274# BuildOptions Section - Define the module specific tool chain flags that should be used as\r
275# the default flags for a module. These flags are appended to any\r
276# standard flags that are defined by the build process. They can be\r
277# applied for any modules or only those modules with the specific\r
278# module style (EDK or EDKII) specified in [Components] section.\r
279#\r
280###################################################################################################\r
281[BuildOptions]\r
282 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR\r
283\r