From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=shenglei.zhang@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EE788211C5735 for ; Thu, 31 Jan 2019 21:35:04 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2019 21:35:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,547,1539673200"; d="scan'208";a="316722564" Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by fmsmga005.fm.intel.com with ESMTP; 31 Jan 2019 21:35:04 -0800 From: Shenglei Zhang To: edk2-devel@lists.01.org Cc: Bob Feng , Liming Gao , Yonghong Zhu Date: Fri, 1 Feb 2019 13:34:43 +0800 Message-Id: <20190201053445.13660-9-shenglei.zhang@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20190201053445.13660-1-shenglei.zhang@intel.com> References: <20190201053445.13660-1-shenglei.zhang@intel.com> Subject: [PATCH 08/10] BaseTools/tools_def.template: Remove ELFGCC X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 05:35:05 -0000 ELFGCC is too old.There is no verification for it. https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Cc: Bob Feng Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang --- BaseTools/Conf/tools_def.template | 80 ------------------------------- 1 file changed, 80 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index e73fec42bf..0e671d55bc 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -136,7 +136,6 @@ DEFINE ICC11_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERS DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin DEFINE EBC_BINx86 = C:\Program Files (x86)\Intel\EBC\Bin -DEFINE ELFGCC_BIN = /usr/bin DEFINE CYGWIN_BIN = c:/cygwin/bin DEFINE CYGWIN_BINIA32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/ @@ -296,12 +295,6 @@ DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc # Required to build platforms or ACPI tables: # Intel(r) ACPI Compiler from # https://acpica.org/downloads -# ELFGCC -Linux- Requires: -# GCC(this tool chain uses whatever version of gcc and binutils that is installed in /usr/bin) -# Optional: -# Required to build platforms or ACPI tables: -# Intel(r) ACPI Compiler from -# https://acpica.org/downloads # CYGGCC -win32- Requires: # CygWin, GCC 4.3.0, binutils 2.20.51.0.5 # Microsoft Visual Studio 2005 or 2008 @@ -3999,79 +3992,6 @@ RELEASE_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl *_CYGGCCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC *_CYGGCCxASL_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /ALIGN:32 /DRIVER -#################################################################################### -# -# Elf GCC - This configuration is used to compile on Linux boxes to produce elf -# binaries. -# -#################################################################################### -# ELFGCC - Linux ELF GCC -*_ELFGCC_*_*_FAMILY = GCC -*_ELFGCC_*_*_BUILDRULEFAMILY = GCCLD -*_ELFGCC_*_MAKE_PATH = make - -*_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h -*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h - -################## -# ASL definitions -################## -*_ELFGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN) -*_ELFGCC_*_ASL_FLAGS = DEF(IASL_FLAGS) -*_ELFGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS) -*_ELFGCC_*_ASLPP_FLAGS = -x c -E -include AutoGen.h -*_ELFGCC_*_ASLCC_FLAGS = -x c -*_ELFGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable - -################## -# IA32 definitions -################## -*_ELFGCC_IA32_OBJCOPY_PATH = DEF(ELFGCC_BIN)/objcopy -*_ELFGCC_IA32_CC_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_IA32_SLINK_PATH = DEF(ELFGCC_BIN)/ar -*_ELFGCC_IA32_DLINK_PATH = DEF(ELFGCC_BIN)/ld -*_ELFGCC_IA32_ASM_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_IA32_PP_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_IA32_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_IA32_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_IA32_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_IA32_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld -*_ELFGCC_IA32_RC_PATH = DEF(ELFGCC_BIN)/objcopy - -*_ELFGCC_IA32_CC_FLAGS = -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings -*_ELFGCC_IA32_SLINK_FLAGS = -*_ELFGCC_IA32_DLINK_FLAGS = -melf_i386 -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map -#*_ELFGCC_IA32_DLINK_FLAGS = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -*_ELFGCC_IA32_ASM_FLAGS = -m32 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h -*_ELFGCC_IA32_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h -*_ELFGCC_IA32_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h -*_ELFGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) -*_ELFGCC_IA32_OBJCOPY_FLAGS = -*_ELFGCC_IA32_NASM_FLAGS = -f elf32 - -################## -# X64 definitions -################## -*_ELFGCC_X64_CC_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_X64_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_X64_SLINK_PATH = DEF(ELFGCC_BIN)/ar -*_ELFGCC_X64_DLINK_PATH = DEF(ELFGCC_BIN)/ld -*_ELFGCC_X64_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld -*_ELFGCC_X64_ASM_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_X64_PP_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_X64_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_X64_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc -*_ELFGCC_X64_RC_PATH = DEF(ELFGCC_BIN)/objcopy - -*_ELFGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-address -Wno-array-bounds -include AutoGen.h -D_EFI_P64 -*_ELFGCC_X64_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map -*_ELFGCC_X64_SLINK_FLAGS = -*_ELFGCC_X64_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h -*_ELFGCC_X64_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h -*_ELFGCC_X64_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h -*_ELFGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) -*_ELFGCC_X64_NASM_FLAGS = -f elf64 - #################################################################################### # # Intel(R) C++ Compiler Version 9.1 -- 2.18.0.windows.1