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