summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/PlatformDsc/LibraryClasses.DxeCore.dsc
diff options
context:
space:
mode:
authorzwei4 <david.wei@intel.com>2017-08-03 17:10:08 +0800
committerzwei4 <david.wei@intel.com>2017-08-04 16:48:43 +0800
commit4cf5e270e746af032aeef7f3bac2b676952342e3 (patch)
treecbae24a89b898ab496d92cbcfb46248dccda7a53 /Platform/BroxtonPlatformPkg/PlatformDsc/LibraryClasses.DxeCore.dsc
parentee4bdd327420aed76eefbf9f69dbba9e6df4d7d8 (diff)
downloadedk2-platforms-4cf5e270e746af032aeef7f3bac2b676952342e3.tar.xz
Enable source level debug.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/PlatformDsc/LibraryClasses.DxeCore.dsc')
-rw-r--r--Platform/BroxtonPlatformPkg/PlatformDsc/LibraryClasses.DxeCore.dsc6
1 files changed, 6 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/PlatformDsc/LibraryClasses.DxeCore.dsc b/Platform/BroxtonPlatformPkg/PlatformDsc/LibraryClasses.DxeCore.dsc
index 5ae62d3dca..d60c900e78 100644
--- a/Platform/BroxtonPlatformPkg/PlatformDsc/LibraryClasses.DxeCore.dsc
+++ b/Platform/BroxtonPlatformPkg/PlatformDsc/LibraryClasses.DxeCore.dsc
@@ -30,4 +30,10 @@
TimerLib|$(PLATFORM_PACKAGE_COMMON)/Library/PlatformTscTimerLib/DxeTscTimerLib.inf
!endif
!endif
+
+!if $(SOURCE_DEBUG_ENABLE) == TRUE
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
+!else
+ DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
+!endif