vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 1 | ## @file
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 2 | # Source Level Debug Package.
|
| 3 | #
|
Shumin Qiu | 4e4a6f3 | 2015-01-19 02:44:10 +0000 | [diff] [blame] | 4 | # Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 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]
|
vanjeff | 894c9c6 | 2012-04-25 08:03:26 +0000 | [diff] [blame] | 22 | PLATFORM_NAME = SourceLevelDebugPkg
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 23 | PLATFORM_GUID = 38C85805-883F-4ee8-A854-95B966ED73AA
|
Ruiyu Ni | 29b3a74 | 2015-08-24 06:38:24 +0000 | [diff] [blame] | 24 | PLATFORM_VERSION = 0.96
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 25 | DSC_SPECIFICATION = 0x00010005
|
vanjeff | 894c9c6 | 2012-04-25 08:03:26 +0000 | [diff] [blame] | 26 | OUTPUT_DIRECTORY = Build/SourceLevelDebugPkg
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 27 | SUPPORTED_ARCHITECTURES = IA32|X64
|
| 28 | BUILD_TARGETS = DEBUG|RELEASE
|
| 29 | SKUID_IDENTIFIER = DEFAULT
|
| 30 |
|
| 31 | [LibraryClasses.common]
|
vanjeff | b422b62 | 2013-01-25 02:36:18 +0000 | [diff] [blame] | 32 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
mdkinney | 351ff41 | 2011-03-10 22:41:43 +0000 | [diff] [blame] | 33 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 34 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
| 35 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 36 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
vanjeff | b422b62 | 2013-01-25 02:36:18 +0000 | [diff] [blame] | 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
|
vanjeff | d6e1d9c | 2013-02-04 08:12:45 +0000 | [diff] [blame] | 45 | ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
|
niruiyu | b2fdb17 | 2013-03-28 07:02:01 +0000 | [diff] [blame] | 46 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
| 47 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
vanjeff | b422b62 | 2013-01-25 02:36:18 +0000 | [diff] [blame] | 48 | PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
|
| 49 |
|
niruiyu | b2fdb17 | 2013-03-28 07:02:01 +0000 | [diff] [blame] | 50 | !ifdef $(SOURCE_DEBUG_USE_USB)
|
| 51 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf
|
| 52 | !else
|
Elvin Li | 2cb6eab | 2014-10-22 05:01:58 +0000 | [diff] [blame] | 53 | !ifndef $(SOURCE_DEBUG_USE_USB3)
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 54 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
|
niruiyu | b2fdb17 | 2013-03-28 07:02:01 +0000 | [diff] [blame] | 55 | !endif
|
Elvin Li | 2cb6eab | 2014-10-22 05:01:58 +0000 | [diff] [blame] | 56 | !endif
|
vanjeff | b422b62 | 2013-01-25 02:36:18 +0000 | [diff] [blame] | 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
|
Elvin Li | 2cb6eab | 2014-10-22 05:01:58 +0000 | [diff] [blame] | 65 | !ifdef $(SOURCE_DEBUG_USE_USB3)
|
| 66 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf
|
| 67 | !endif
|
vanjeff | b422b62 | 2013-01-25 02:36:18 +0000 | [diff] [blame] | 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
|
Elvin Li | 2cb6eab | 2014-10-22 05:01:58 +0000 | [diff] [blame] | 78 | !ifdef $(SOURCE_DEBUG_USE_USB3)
|
| 79 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.inf
|
| 80 | !endif
|
vanjeff | 18b144e | 2010-09-12 06:43:36 +0000 | [diff] [blame] | 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
|
vanjeff | b422b62 | 2013-01-25 02:36:18 +0000 | [diff] [blame] | 108 | SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf
|
| 109 | SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf
|