From 78975fe0faf31efac199baeece8d697356a74dfc Mon Sep 17 00:00:00 2001 From: Qiu Shumin Date: Thu, 5 May 2016 13:35:42 +0800 Subject: ShellPkg: Remove debug message in release binaries. Use BaseDebugLibNull instance instead of UefiDebugLibConOut to remove the debug message in release Shell binaries. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin Reviewed-by: Jaben Carsey (cherry picked from commit d454c18a315f109c52b78e8049a7231eb01f003c) --- ShellPkg/ShellPkg.dsc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ShellPkg/ShellPkg.dsc') diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index 364a622452..25c4fadc61 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -27,7 +27,11 @@ UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf +!if $(TARGET) == RELEASE + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf +!else DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf +!endif DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf -- cgit v1.2.3