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