]> git.proxmox.com Git - mirror_edk2.git/blame - SourceLevelDebugPkg/SourceLevelDebugPkg.dsc
Add DebugCommunicationLibUsb3 for USB3.0 source level debug support.
[mirror_edk2.git] / SourceLevelDebugPkg / SourceLevelDebugPkg.dsc
CommitLineData
18b144ea 1## @file\r
2#\r
3# Source Level Debug Package.\r
4#\r
4d92c224 5# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
18b144ea 6#\r
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
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
894c9c6e 23 PLATFORM_NAME = SourceLevelDebugPkg\r
18b144ea 24 PLATFORM_GUID = 38C85805-883F-4ee8-A854-95B966ED73AA\r
4d92c224 25 PLATFORM_VERSION = 0.86\r
18b144ea 26 DSC_SPECIFICATION = 0x00010005\r
894c9c6e 27 OUTPUT_DIRECTORY = Build/SourceLevelDebugPkg\r
18b144ea 28 SUPPORTED_ARCHITECTURES = IA32|X64\r
29 BUILD_TARGETS = DEBUG|RELEASE\r
30 SKUID_IDENTIFIER = DEFAULT\r
31\r
32[LibraryClasses.common]\r
b422b62c 33 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
351ff413 34 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf \r
18b144ea 35 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
36 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
18b144ea 37 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
b422b62c 38 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
39 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
40 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
41 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
42 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
43 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
44 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
45 TimerLib|UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf\r
d6e1d9c1 46 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf\r
b2fdb17e
RN
47 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
48 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
b422b62c 49 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
50\r
b2fdb17e
RN
51!ifdef $(SOURCE_DEBUG_USE_USB)\r
52 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf\r
53!else\r
2cb6eabe 54!ifndef $(SOURCE_DEBUG_USE_USB3)\r
18b144ea 55 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
b2fdb17e 56!endif\r
2cb6eabe 57!endif\r
b422b62c 58\r
59[LibraryClasses.common.PEIM]\r
60 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
61 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
62 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
63 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
64 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
65 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
2cb6eabe
EL
66!ifdef $(SOURCE_DEBUG_USE_USB3)\r
67 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf\r
68!endif\r
b422b62c 69\r
70[LibraryClasses.common.DXE_DRIVER]\r
71 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
72 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
73 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
74 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
75 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
76 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
77 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
78 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
2cb6eabe
EL
79!ifdef $(SOURCE_DEBUG_USE_USB3)\r
80 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.inf\r
81!endif\r
18b144ea 82\r
83###################################################################################################\r
84#\r
85# Components Section - list of the modules and components that will be processed by compilation\r
86# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
87#\r
88# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
89# into firmware volume images. This section is just a list of modules to compile from\r
90# source into UEFI-compliant binaries.\r
91# It is the FDF file that contains information on combining binary files into firmware\r
92# volume images, whose concept is beyond UEFI and is described in PI specification.\r
93# Binary modules do not need to be listed in this section, as they should be\r
94# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
95# Logo (Logo.bmp), and etc.\r
96# There may also be modules listed in this section that are not required in the FDF file,\r
97# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
98# generated for it, but the binary will not be put into any firmware volume.\r
99#\r
100###################################################################################################\r
101\r
102[Components.common]\r
103 SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
104 SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf\r
105 SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
106 SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
107 SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
108 SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
b422b62c 109 SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf\r
110 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf\r