From: Shenglei Zhang <shenglei.zhang@intel.com>
To: edk2-devel@lists.01.org
Cc: Bob Feng <bob.c.feng@intel.com>,
Liming Gao <liming.gao@intel.com>,
Yonghong Zhu <yonghong.zhu@intel.com>
Subject: [PATCH v3 08/10] BaseTools/tools_def.template: Remove ELFGCC
Date: Wed, 13 Feb 2019 09:42:43 +0800 [thread overview]
Message-ID: <20190213014245.380-9-shenglei.zhang@intel.com> (raw)
In-Reply-To: <20190213014245.380-1-shenglei.zhang@intel.com>
ELFGCC is too old.There is no verification for it.
https://bugzilla.tianocore.org/show_bug.cgi?id=1377
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
---
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 f1ada594b4..21efe4e593 100755
--- a/BaseTools/Conf/tools_def.template
+++ b/BaseTools/Conf/tools_def.template
@@ -145,7 +145,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/
@@ -313,12 +312,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
# ICC -win32- Requires:
# Intel C Compiler V9.1
# Dependencies:
@@ -4160,79 +4153,6 @@ RELEASE_CLANG38_AARCH64_CC_FLAGS = DEF(CLANG38_AARCH64_CC_FLAGS) $(ARCHCC_FLA
RELEASE_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64
-####################################################################################
-#
-# 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
next prev parent reply other threads:[~2019-02-13 1:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-13 1:42 [PATCH v3 00/10] Remove unused tool chain configuration Shenglei Zhang
2019-02-13 1:42 ` [PATCH v3 01/10] BaseTools/tools_def.template: Remove CYGGCC Shenglei Zhang
2019-02-13 1:42 ` [PATCH v3 02/10] OptionRomPkg/ReadMe.txt: " Shenglei Zhang
2019-02-13 1:42 ` [PATCH v3 03/10] BaseTools: Update MYTOOLS Shenglei Zhang
2019-02-13 1:42 ` [PATCH v3 04/10] BaseTools/tools_def.template: Remove VS2003 and VS2005 Shenglei Zhang
2019-02-13 1:42 ` [PATCH v3 05/10] OptionRomPkg/ReadMe.txt: Remove VS2005 Shenglei Zhang
2019-02-13 1:42 ` [PATCH v3 06/10] BaseTools/tools_def.template: Remove UNIXGCC Shenglei Zhang
2019-02-13 1:42 ` [PATCH v3 07/10] OvmfPkg/README: " Shenglei Zhang
2019-02-13 2:03 ` Laszlo Ersek
2019-02-13 1:42 ` Shenglei Zhang [this message]
2019-02-13 1:42 ` [PATCH v3 09/10] BaseTools/tools_def.template: Remove DDK3790 Shenglei Zhang
2019-02-13 1:42 ` [PATCH v3 10/10] BaseTools/build_rule.template: Remove GCCLD Shenglei Zhang
2019-02-14 0:12 ` [PATCH v3 00/10] Remove unused tool chain configuration Gao, Liming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190213014245.380-9-shenglei.zhang@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox