]> git.proxmox.com Git - mirror_edk2.git/blob - SourceLevelDebugPkg/SourceLevelDebugPkg.dsc
OvmfPkg/LsiScsiDxe: Probe PCI devices and look for LsiScsi
[mirror_edk2.git] / SourceLevelDebugPkg / SourceLevelDebugPkg.dsc
1 ## @file
2 # Source Level Debug Package.
3 #
4 # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
5 # Copyright (c) 2020, AMD Incorporated. All rights reserved.<BR>
6 #
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 ##
10
11 ################################################################################
12 #
13 # Defines Section - statements that will be processed to create a Makefile.
14 #
15 ################################################################################
16 [Defines]
17 PLATFORM_NAME = SourceLevelDebugPkg
18 PLATFORM_GUID = 38C85805-883F-4ee8-A854-95B966ED73AA
19 PLATFORM_VERSION = 0.96
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/SourceLevelDebugPkg
22 SUPPORTED_ARCHITECTURES = IA32|X64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25
26 [LibraryClasses.common]
27 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
28 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
29 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
30 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
31 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
32 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
33 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
34 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
35 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
36 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
37 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
38 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
39 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
40 TimerLib|UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
41 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
42 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
43 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
44 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
45
46 !ifdef $(SOURCE_DEBUG_USE_USB)
47 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf
48 !else
49 !ifndef $(SOURCE_DEBUG_USE_USB3)
50 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
51 !endif
52 !endif
53
54 [LibraryClasses.common.PEIM]
55 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
56 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
57 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
58 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
59 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
60 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
61 !ifdef $(SOURCE_DEBUG_USE_USB3)
62 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf
63 !endif
64
65 [LibraryClasses.common.DXE_DRIVER]
66 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
67 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
68 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
69 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
70 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
71 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
72 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
73 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
74 !ifdef $(SOURCE_DEBUG_USE_USB3)
75 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.inf
76 !endif
77
78 ###################################################################################################
79 #
80 # Components Section - list of the modules and components that will be processed by compilation
81 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
82 #
83 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
84 # into firmware volume images. This section is just a list of modules to compile from
85 # source into UEFI-compliant binaries.
86 # It is the FDF file that contains information on combining binary files into firmware
87 # volume images, whose concept is beyond UEFI and is described in PI specification.
88 # Binary modules do not need to be listed in this section, as they should be
89 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
90 # Logo (Logo.bmp), and etc.
91 # There may also be modules listed in this section that are not required in the FDF file,
92 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
93 # generated for it, but the binary will not be put into any firmware volume.
94 #
95 ###################################################################################################
96
97 [Components.common]
98 SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.inf
99 SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf
100 SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
101 SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf
102 SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
103 SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
104 SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
105 SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
106 SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf
107 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf
108
109 [BuildOptions]
110 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES