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