blob: 0dcaea23bb8c57e6b4d12b3d1ac377cb31d216fe [file] [log] [blame]
vanjeff18b144e2010-09-12 06:43:36 +00001## @file
vanjeff18b144e2010-09-12 06:43:36 +00002# Source Level Debug Package.
3#
Shumin Qiu4e4a6f32015-01-19 02:44:10 +00004# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
vanjeff18b144e2010-09-12 06:43:36 +00005#
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]
vanjeff894c9c62012-04-25 08:03:26 +000022 PLATFORM_NAME = SourceLevelDebugPkg
vanjeff18b144e2010-09-12 06:43:36 +000023 PLATFORM_GUID = 38C85805-883F-4ee8-A854-95B966ED73AA
Ruiyu Ni29b3a742015-08-24 06:38:24 +000024 PLATFORM_VERSION = 0.96
vanjeff18b144e2010-09-12 06:43:36 +000025 DSC_SPECIFICATION = 0x00010005
vanjeff894c9c62012-04-25 08:03:26 +000026 OUTPUT_DIRECTORY = Build/SourceLevelDebugPkg
vanjeff18b144e2010-09-12 06:43:36 +000027 SUPPORTED_ARCHITECTURES = IA32|X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30
31[LibraryClasses.common]
vanjeffb422b622013-01-25 02:36:18 +000032 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
mdkinney351ff412011-03-10 22:41:43 +000033 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
vanjeff18b144e2010-09-12 06:43:36 +000034 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
35 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
vanjeff18b144e2010-09-12 06:43:36 +000036 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
vanjeffb422b622013-01-25 02:36:18 +000037 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
vanjeffd6e1d9c2013-02-04 08:12:45 +000045 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
niruiyub2fdb172013-03-28 07:02:01 +000046 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
47 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
vanjeffb422b622013-01-25 02:36:18 +000048 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
49
niruiyub2fdb172013-03-28 07:02:01 +000050!ifdef $(SOURCE_DEBUG_USE_USB)
51 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf
52!else
Elvin Li2cb6eab2014-10-22 05:01:58 +000053!ifndef $(SOURCE_DEBUG_USE_USB3)
vanjeff18b144e2010-09-12 06:43:36 +000054 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
niruiyub2fdb172013-03-28 07:02:01 +000055!endif
Elvin Li2cb6eab2014-10-22 05:01:58 +000056!endif
vanjeffb422b622013-01-25 02:36:18 +000057
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
Elvin Li2cb6eab2014-10-22 05:01:58 +000065!ifdef $(SOURCE_DEBUG_USE_USB3)
66 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf
67!endif
vanjeffb422b622013-01-25 02:36:18 +000068
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
Elvin Li2cb6eab2014-10-22 05:01:58 +000078!ifdef $(SOURCE_DEBUG_USE_USB3)
79 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.inf
80!endif
vanjeff18b144e2010-09-12 06:43:36 +000081
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
vanjeffb422b622013-01-25 02:36:18 +0000108 SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf
109 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf