diff options
author | Alex James <theracermaster@gmail.com> | 2018-03-27 00:15:10 +0800 |
---|---|---|
committer | Benjamin You <benjamin.you@intel.com> | 2018-03-30 07:28:18 +0800 |
commit | 05a32984ab799a564e2eeb7dff128fe0992910d8 (patch) | |
tree | 52b566b2ccd8104a80e5b9d21b4f4c97c40542d9 /CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | |
parent | b1956b5d42182309604d008036882e62f17d1ccf (diff) | |
download | edk2-05a32984ab799a564e2eeb7dff128fe0992910d8.tar.gz edk2-05a32984ab799a564e2eeb7dff128fe0992910d8.tar.bz2 edk2-05a32984ab799a564e2eeb7dff128fe0992910d8.zip |
CorebootPayloadPkg: Conditionally add DebugAgentLib for DXE drivers
To fix building with SOURCE_DEBUG_ENABLE, add DebugAgentLib for
LibraryClasses.common.DXE_DRIVER, as is done with Vlv2TbltDevicePkg.
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Alex James <theracermaster@gmail.com>
Reviewed-by: Benjamin You <benjamin.you@intel.com>
Diffstat (limited to 'CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc')
-rw-r--r-- | CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc index ace1bc0a37..b6cdb697a5 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -239,6 +239,9 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
+!if $(SOURCE_DEBUG_ENABLE)
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
+!endif
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
|