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