summaryrefslogtreecommitdiff
path: root/BeagleBoardPkg/BeagleBoardPkg.dsc
diff options
context:
space:
mode:
Diffstat (limited to 'BeagleBoardPkg/BeagleBoardPkg.dsc')
-rw-r--r--BeagleBoardPkg/BeagleBoardPkg.dsc5
1 files changed, 4 insertions, 1 deletions
diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc b/BeagleBoardPkg/BeagleBoardPkg.dsc
index 5d113465b7..d7716ebc13 100644
--- a/BeagleBoardPkg/BeagleBoardPkg.dsc
+++ b/BeagleBoardPkg/BeagleBoardPkg.dsc
@@ -32,8 +32,11 @@
[LibraryClasses.common]
+!if DEBUG_TARGET == RELEASE
+ DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
+!else
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
-# DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
+!endif
ArmLib|ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLib.inf
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf