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