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