From 1458af0cbce04bea98ea2faa806a1626343feb7f Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Thu, 3 Jan 2019 00:33:17 +0100 Subject: [PATCH] BaseTools/tools_def.template: remove GCC45 leaf definitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the "leaf" definitions for GCC45. These definitions are never referenced in "tools_def.template" (they are the last GCC45 mentions in the file), so their removal can't break other definitions. Instead, their erasure turns other definitions into leaves (subject to further removal). Cc: Bob Feng Cc: Liming Gao Cc: Yonghong Zhu Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 76 ------------------------------- 1 file changed, 76 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index cb67a48e4a..cd6eb8124a 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -4378,82 +4378,6 @@ RELEASE_GCC44_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS) -Os RELEASE_GCC44_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS) -Os NOOPT_GCC44_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS) -O0 -#################################################################################### -# -# GCC 4.5 - This configuration is used to compile under Linux to produce -# PE/COFF binaries using GCC 4.5. -# -#################################################################################### -*_GCC45_*_*_FAMILY = GCC - -*_GCC45_*_MAKE_PATH = DEF(GCC_HOST_PREFIX)make -*_GCC45_*_*_DLL = ENV(GCC45_DLL) -*_GCC45_*_ASL_PATH = DEF(UNIX_IASL_BIN) - -*_GCC45_*_PP_FLAGS = DEF(GCC_PP_FLAGS) -*_GCC45_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) -*_GCC45_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -*_GCC45_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) -*_GCC45_*_APP_FLAGS = -*_GCC45_*_ASL_FLAGS = DEF(IASL_FLAGS) -*_GCC45_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS) - -################## -# GCC45 IA32 definitions -################## -*_GCC45_IA32_OBJCOPY_PATH = DEF(GCC45_IA32_PREFIX)objcopy -*_GCC45_IA32_CC_PATH = DEF(GCC45_IA32_PREFIX)gcc -*_GCC45_IA32_SLINK_PATH = DEF(GCC45_IA32_PREFIX)ar -*_GCC45_IA32_DLINK_PATH = DEF(GCC45_IA32_PREFIX)gcc -*_GCC45_IA32_ASLDLINK_PATH = DEF(GCC45_IA32_PREFIX)gcc -*_GCC45_IA32_ASM_PATH = DEF(GCC45_IA32_PREFIX)gcc -*_GCC45_IA32_PP_PATH = DEF(GCC45_IA32_PREFIX)gcc -*_GCC45_IA32_VFRPP_PATH = DEF(GCC45_IA32_PREFIX)gcc -*_GCC45_IA32_ASLCC_PATH = DEF(GCC45_IA32_PREFIX)gcc -*_GCC45_IA32_ASLPP_PATH = DEF(GCC45_IA32_PREFIX)gcc -*_GCC45_IA32_RC_PATH = DEF(GCC45_IA32_PREFIX)objcopy - -*_GCC45_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32 -*_GCC45_IA32_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 -*_GCC45_IA32_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m32 --32 -march=i386 -*_GCC45_IA32_DLINK_FLAGS = DEF(GCC45_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386 -*_GCC45_IA32_DLINK2_FLAGS = DEF(GCC45_IA32_DLINK2_FLAGS) -*_GCC45_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) -*_GCC45_IA32_OBJCOPY_FLAGS = -*_GCC45_IA32_NASM_FLAGS = -f elf32 - - DEBUG_GCC45_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -Os -RELEASE_GCC45_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -Os - NOOPT_GCC45_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -O0 - -################## -# GCC45 X64 definitions -################## -*_GCC45_X64_OBJCOPY_PATH = DEF(GCC45_X64_PREFIX)objcopy -*_GCC45_X64_CC_PATH = DEF(GCC45_X64_PREFIX)gcc -*_GCC45_X64_SLINK_PATH = DEF(GCC45_X64_PREFIX)ar -*_GCC45_X64_DLINK_PATH = DEF(GCC45_X64_PREFIX)gcc -*_GCC45_X64_ASLDLINK_PATH = DEF(GCC45_X64_PREFIX)gcc -*_GCC45_X64_ASM_PATH = DEF(GCC45_X64_PREFIX)gcc -*_GCC45_X64_PP_PATH = DEF(GCC45_X64_PREFIX)gcc -*_GCC45_X64_VFRPP_PATH = DEF(GCC45_X64_PREFIX)gcc -*_GCC45_X64_ASLCC_PATH = DEF(GCC45_X64_PREFIX)gcc -*_GCC45_X64_ASLPP_PATH = DEF(GCC45_X64_PREFIX)gcc -*_GCC45_X64_RC_PATH = DEF(GCC45_X64_PREFIX)objcopy - -*_GCC45_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64 -*_GCC45_X64_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64 -*_GCC45_X64_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m64 --64 -melf_x86_64 -*_GCC45_X64_DLINK_FLAGS = DEF(GCC45_X64_DLINK_FLAGS) -*_GCC45_X64_DLINK2_FLAGS = DEF(GCC45_X64_DLINK2_FLAGS) -*_GCC45_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) -*_GCC45_X64_OBJCOPY_FLAGS = -*_GCC45_X64_NASM_FLAGS = -f elf64 - - DEBUG_GCC45_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS) -Os -RELEASE_GCC45_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS) -Os - NOOPT_GCC45_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS) -O0 - #################################################################################### # # GCC 4.8 - This configuration is used to compile under Linux to produce