summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirt.dsc.inc
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-02-20 10:58:31 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-02-24 13:58:53 +0000
commitebfca258f5d7ab59cd1b72ad56f1de0e7a138ba9 (patch)
tree8a9280d7387e10774c9f7f260470093389911005 /ArmVirtPkg/ArmVirt.dsc.inc
parent7f029e1b31ee854f7963124080372d8355d745b8 (diff)
downloadedk2-ebfca258f5d7ab59cd1b72ad56f1de0e7a138ba9.tar.gz
edk2-ebfca258f5d7ab59cd1b72ad56f1de0e7a138ba9.tar.bz2
edk2-ebfca258f5d7ab59cd1b72ad56f1de0e7a138ba9.zip
ArmVirtPkg: switch to DXE runtime version of DebugLib where appropriate
Switch all users of ArmVirt.dsc.inc to the new DebugLib implementation that was created especially for DXE_RUNTIME_DRIVER modules, ensuring that DEBUG() calls do not touch the UART at runtime. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ArmVirtPkg/ArmVirt.dsc.inc')
-rw-r--r--ArmVirtPkg/ArmVirt.dsc.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc
index 0cb48f08e9..cde514958d 100644
--- a/ArmVirtPkg/ArmVirt.dsc.inc
+++ b/ArmVirtPkg/ArmVirt.dsc.inc
@@ -231,6 +231,9 @@
[LibraryClasses.common.DXE_RUNTIME_DRIVER]
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
+!if $(TARGET) != RELEASE
+ DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
+!endif
!if $(SECURE_BOOT_ENABLE) == TRUE
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf