summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/PlatformPkgX64Gcc.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/PlatformPkgX64Gcc.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/PlatformPkgX64Gcc.dsc')
-rw-r--r--Platform/BroxtonPlatformPkg/PlatformPkgX64Gcc.dsc6
1 files changed, 6 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/PlatformPkgX64Gcc.dsc b/Platform/BroxtonPlatformPkg/PlatformPkgX64Gcc.dsc
index 42f068a38e..bab962bbf9 100644
--- a/Platform/BroxtonPlatformPkg/PlatformPkgX64Gcc.dsc
+++ b/Platform/BroxtonPlatformPkg/PlatformPkgX64Gcc.dsc
@@ -119,6 +119,12 @@
PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
TimerLib|$(PLATFORM_PACKAGE_COMMON)/Library/PlatformTscTimerLib/DxeTscTimerLib.inf
!endif
+
+ !if $(SOURCE_DEBUG_ENABLE) == TRUE
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
+ !else
+ DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
+ !endif
[LibraryClasses.Common.DXE_CORE]
!include PlatformDsc/LibraryClasses.DxeCore.dsc