From e067816aee67ac14d0b532c067800a024d185738 Mon Sep 17 00:00:00 2001 From: Shenglei Zhang Date: Tue, 29 Jan 2019 16:16:36 +0800 Subject: [PATCH] OvmfPkg/README: Remove UNIXGCC Remove UNIXGCC in OvmfPkgIa32.dsc, OvmfPkgIa32X64.dsc and OvmfPkgX64.dsc. Remove content related to UNIXGCC in README. https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Anthony Perard Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao Acked-by: Ard Biesheuvel --- OvmfPkg/OvmfPkgIa32.dsc | 1 - OvmfPkg/OvmfPkgIa32X64.dsc | 1 - OvmfPkg/OvmfPkgX64.dsc | 1 - OvmfPkg/README | 19 ------------------- 4 files changed, 22 deletions(-) diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index 2b642ab5dc..f9216af479 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -62,7 +62,6 @@ !endif [BuildOptions] - GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 14a5c1bb29..1e470de744 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -62,7 +62,6 @@ !endif [BuildOptions] - GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index aa7197f533..e4929d8cf4 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -62,7 +62,6 @@ !endif [BuildOptions] - GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG diff --git a/OvmfPkg/README b/OvmfPkg/README index 68ce0750af..c014d07bfb 100644 --- a/OvmfPkg/README +++ b/OvmfPkg/README @@ -402,25 +402,6 @@ main firmware (MAINFV) into RAM memory at address 0x800000. The remaining OVMF firmware then uses this decompressed firmware volume image. -=== UNIXGCC Debug === - -If you build with the UNIXGCC toolchain, then debugging will be disabled -due to larger image sizes being produced by the UNIXGCC toolchain. The -first choice recommendation is to use GCC48 or newer instead. - -If you must use UNIXGCC, then you can override the build options for -particular libraries and modules in the .dsc to re-enable debugging -selectively. For example: - [Components] - OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf { - - GCC:*_*_*_CC_FLAGS = -UMDEPKG_NDEBUG - } - MdeModulePkg/Universal/BdsDxe/BdsDxe.inf { - - GCC:*_*_*_CC_FLAGS = -UMDEPKG_NDEBUG - } - === UEFI Windows 7 & Windows 2008 Server === * One of the '-vga std' and '-vga qxl' QEMU options should be used.