]> git.proxmox.com Git - mirror_edk2.git/blame - CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
CorebootPayloadPkg: Make shell selectable
[mirror_edk2.git] / CorebootPayloadPkg / CorebootPayloadPkgIa32X64.dsc
CommitLineData
9c228fb0
MM
1## @file\r
2# Coreboot Payload Package\r
3#\r
13986b69 4# Provides drivers and definitions to create uefi payload for coreboot.
9c228fb0 5#\r
eeb69ffc 6# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
13986b69
LL
7# This program and the accompanying materials are licensed and made available under
8# the terms and conditions of the BSD License that accompanies this distribution.
9c228fb0 9# The full text of the license may be found at\r
13986b69
LL
10# http://opensource.org/licenses/bsd-license.php.
11#
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
9c228fb0
MM
14#\r
15##\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = CorebootPayloadPkg\r
24 PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96\r
25 PLATFORM_VERSION = 0.1\r
13986b69 26 DSC_SPECIFICATION = 0x00010005
9c228fb0 27 SUPPORTED_ARCHITECTURES = IA32|X64\r
090b856b 28 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
9c228fb0 29 SKUID_IDENTIFIER = DEFAULT\r
08fc1818 30 OUTPUT_DIRECTORY = Build/CorebootPayloadPkgX64\r
9c228fb0 31 FLASH_DEFINITION = CorebootPayloadPkg/CorebootPayloadPkg.fdf\r
13986b69 32
9c228fb0
MM
33 DEFINE SECURE_BOOT_ENABLE = FALSE\r
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
13986b69 35
d3f5d598
LL
36 #
37 # Shell options: [BUILD_SHELL, FULL_BIN, MIN_BIN, NONE, UEFI]
38 #
39 DEFINE SHELL_TYPE = FULL_BIN
40
9c228fb0 41[BuildOptions]\r
d3f5d598
LL
42 GCC:DEBUG_*_*_CC_FLAGS = -Og -flto
43 GCC:DEBUG_*_*_DLINK_FLAGS = -flto
9c228fb0
MM
44 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
45 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
46 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
47 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
48\r
49################################################################################\r
50#\r
51# SKU Identification section - list of all SKU IDs supported by this Platform.\r
52#\r
53################################################################################\r
54[SkuIds]\r
55 0|DEFAULT\r
56\r
57################################################################################\r
58#\r
59# Library Class section - list of all Library Classes needed by this Platform.\r
60#\r
61################################################################################\r
62[LibraryClasses]\r
63 #\r
64 # Entry point\r
65 #\r
66 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
67 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
68 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
69 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
70 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
71\r
72 #\r
73 # Basic\r
74 #\r
13986b69 75 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
9c228fb0
MM
76 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
77 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
78 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
79 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
81 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
82 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
83 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
84 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
85 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
13986b69 86
9c228fb0
MM
87 #\r
88 # UEFI & PI\r
89 #\r
90 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
91 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
92 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
93 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
94 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
95 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
96 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
97 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
98 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
99 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
100 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
101 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
102 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
13986b69 103
9c228fb0
MM
104 #\r
105 # Generic Modules\r
106 #\r
107 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
108 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
109 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
110 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
111 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
112 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
113 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
13986b69 114
9c228fb0
MM
115 #\r
116 # CPU\r
117 #\r
118 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
13986b69
LL
119 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
120
9c228fb0
MM
121 #\r
122 # Platform\r
123 #\r
124 TimerLib|CorebootPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r
125 ResetSystemLib|CorebootPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
bae5ddc0
SZ
126 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
127 PlatformHookLib|CorebootPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r
9c228fb0 128 PlatformBdsLib|CorebootPayloadPkg/Library/PlatformBdsLib/PlatformBdsLib.inf\r
13986b69 129
9c228fb0
MM
130 #\r
131 # Misc\r
132 #\r
133 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
134 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
135 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
136!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
137 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
138 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
139!else\r
140 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
13986b69 141 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
9c228fb0
MM
142!endif\r
143 CbParseLib|CorebootModulePkg/Library/CbParseLib/CbParseLib.inf\r
144 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
145 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
146\r
147[LibraryClasses.IA32.SEC]\r
148 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
149 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
150 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
151 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
152 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
153 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
154\r
155[LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.PEIM]\r
156 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
157 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
158 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
159 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
160 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
161!if $(SOURCE_DEBUG_ENABLE)\r
162 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
163!endif\r
164\r
165[LibraryClasses.common.DXE_CORE]\r
166 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
167 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
168 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
169 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
13986b69 170 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
9c228fb0
MM
171!if $(SOURCE_DEBUG_ENABLE)\r
172 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
13986b69 173!endif
9c228fb0
MM
174 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
175\r
13986b69 176[LibraryClasses.common.DXE_DRIVER]
9c228fb0
MM
177 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
178 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
179 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
180 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
181 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
182 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
13986b69 183
9c228fb0
MM
184[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
185 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
186 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
187 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
188 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
13986b69 189
9c228fb0
MM
190[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r
191 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
192 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
193 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
13986b69
LL
194 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
195
9c228fb0
MM
196################################################################################\r
197#\r
198# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
199#\r
200################################################################################\r
201[PcdsFeatureFlag]\r
202 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
203 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
204 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
205 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
206 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
207\r
208[PcdsFixedAtBuild]\r
209 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r
210 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
211!if $(SOURCE_DEBUG_ENABLE)\r
212 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
213!else\r
214 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
215!endif\r
216 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r
217 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
218 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r
13986b69
LL
219
220 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
8e0fdb3a 221 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
9c228fb0
MM
222\r
223!if $(SOURCE_DEBUG_ENABLE)\r
224 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
225!endif\r
226\r
bae5ddc0
SZ
227[PcdsPatchableInModule.common]\r
228 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r
229 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x03F8\r
230\r
9c228fb0
MM
231################################################################################\r
232#\r
233# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
234#\r
235################################################################################\r
236\r
237[PcdsDynamicDefault]\r
238 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
239 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
240 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
241 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
242\r
243\r
244################################################################################\r
245#\r
246# Components Section - list of all EDK II Modules needed by this Platform.\r
247#\r
248################################################################################\r
249[Components.IA32]\r
250 #\r
251 # SEC Core\r
252 #\r
253 CorebootModulePkg/SecCore/SecCore.inf\r
13986b69 254
9c228fb0
MM
255 #\r
256 # PEI Core\r
257 #\r
258 MdeModulePkg/Core/Pei/PeiMain.inf\r
13986b69 259
9c228fb0
MM
260 #\r
261 # PEIM\r
262 #\r
263 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
264 <LibraryClasses>\r
265 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
266 }\r
267 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
13986b69
LL
268
269 CorebootModulePkg/CbSupportPei/CbSupportPei.inf
9c228fb0
MM
270 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
271\r
272[Components.X64]\r
273 #\r
274 # DXE Core\r
275 #\r
276 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
277 <LibraryClasses>\r
278 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
279 }\r
13986b69 280
9c228fb0
MM
281 #\r
282 # Components that produce the architectural protocols\r
283 #\r
284 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
285 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
286 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
287 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
288 MdeModulePkg/Universal/Metronome/Metronome.inf\r
289 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
290 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
291 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
292 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
13986b69
LL
293 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
294 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
9c228fb0 295 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
13986b69 296
9c228fb0 297 #\r
13986b69 298 # Following are the DXE drivers
9c228fb0
MM
299 #\r
300 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
301 <LibraryClasses>\r
302 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
303 }\r
13986b69 304
9c228fb0
MM
305 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
306 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
307 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
308 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
13986b69 309 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
9c228fb0 310 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
13986b69 311 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
9c228fb0 312 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
13986b69
LL
313
314 CorebootModulePkg/CbSupportDxe/CbSupportDxe.inf
315
9c228fb0
MM
316 #\r
317 # SMBIOS Support\r
318 #\r
319 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
13986b69 320
9c228fb0
MM
321 #\r
322 # ACPI Support\r
323 #\r
13986b69
LL
324 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
325
9c228fb0
MM
326 #\r
327 # PCI Support\r
13986b69 328 #
81a23a0f
LL
329 CorebootModulePkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
330 CorebootModulePkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
13986b69 331
9c228fb0
MM
332 #\r
333 # SCSI/ATA/IDE/DISK Support\r
334 #\r
335 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
336 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
337 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
eeb69ffc 338 FatPkg/EnhancedFatDxe/Fat.inf
81a23a0f 339 CorebootModulePkg/SataControllerDxe/SataControllerDxe.inf
9c228fb0 340 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
13986b69 341 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
9c228fb0
MM
342 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
343 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
13986b69 344
9c228fb0
MM
345 #\r
346 # Usb Support\r
347 #\r
348 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
349 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
350 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
351 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
352 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
353 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
13986b69 354
9c228fb0
MM
355 #\r
356 # ISA Support\r
357 #\r
bae5ddc0 358 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
13986b69 359
9c228fb0
MM
360 #\r
361 # Console Support\r
362 #\r
363 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
364 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
365 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
366 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
13986b69
LL
367
368
9c228fb0 369 #\r
13986b69 370 # Framebuffer Gop
9c228fb0
MM
371 #\r
372 CorebootPayloadPkg/FbGop/FbGop.inf\r
d3f5d598
LL
373
374 #------------------------------
375 # Build the shell
376 #------------------------------
377
378!if $(SHELL_TYPE) == BUILD_SHELL
379
380[PcdsFixedAtBuild]
381 ## This flag is used to control initialization of the shell library
382 # This should be FALSE for compiling the shell application itself only.
383 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
384
385 #
386 # Shell Lib
387 #
388[LibraryClasses]
389 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
390 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
391 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
392
393[Components.X64]
394 ShellPkg/Application/Shell/Shell.inf {
395
396 #------------------------------
397 # Basic commands
398 #------------------------------
399
400 <LibraryClasses>
401 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
402 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
403 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
404 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
405 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
406 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
407
408 #------------------------------
409 # Networking commands
410 #------------------------------
411
412 <LibraryClasses>
413 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
414 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
415
416 #------------------------------
417 # Performance command
418 #------------------------------
419
420 <LibraryClasses>
421 NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
422
423 #------------------------------
424 # Support libraries
425 #------------------------------
426
427 <LibraryClasses>
428 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
429 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
430 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
431 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
432 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
433 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
434 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
435 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
436 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
437 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
438 }
439
440!endif