SourceLevelDebugPkg.dsc 6.2 KB

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