summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
diff options
context:
space:
mode:
authorzwei4 <david.wei@intel.com>2016-04-16 09:37:44 +0800
committerzwei4 <david.wei@intel.com>2016-04-16 09:37:44 +0800
commit86f28a8ebb3481e7726401406e38b87165b2708e (patch)
tree18c15f22588459326a1e4b56c89e1c17792df9f1 /Vlv2TbltDevicePkg/PlatformPkgX64.dsc
parentcd1fa3ef3e66618f5ee08f839ab04f49553c89f1 (diff)
downloadedk2-platforms-86f28a8ebb3481e7726401406e38b87165b2708e.tar.xz
Add SMM_DEBUG_ENABLE to control the usage of source level debug of SMM code.
Signed-off-by: Tim He <tim.he@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/PlatformPkgX64.dsc')
-rw-r--r--Vlv2TbltDevicePkg/PlatformPkgX64.dsc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
index 7c9d72cf9c..3432a1356a 100644
--- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
+++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
@@ -336,8 +336,15 @@
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
+!if $(SOURCE_DEBUG_ENABLE) == TRUE
+ PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
+ DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
+ SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
+ DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
+!else
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
+!endif
!if $(MINNOW2_FSP_BUILD) == TRUE
PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf