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.151; helo=mga17.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (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 44CDE21962301 for ; Mon, 24 Dec 2018 07:01:19 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Dec 2018 07:01:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,392,1539673200"; d="scan'208";a="128690334" Received: from lgao4-mobl1.ccr.corp.intel.com ([10.255.31.240]) by fmsmga002.fm.intel.com with ESMTP; 24 Dec 2018 07:01:18 -0800 From: Liming Gao To: edk2-devel@lists.01.org Date: Mon, 24 Dec 2018 23:01:04 +0800 Message-Id: <20181224150107.28624-3-liming.gao@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20181224150107.28624-1-liming.gao@intel.com> References: <20181224150107.28624-1-liming.gao@intel.com> Subject: [Patch 2/5] BaseTools tools_def.template: Remove obsolete ELFGCC/UNIXGCC/CYGGCC tool chain 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: Mon, 24 Dec 2018 15:01:19 -0000 https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao --- BaseTools/Conf/tools_def.template | 387 -------------------------------------- 1 file changed, 387 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index a2ab9680b0..69ae95aa89 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -158,35 +158,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 - -# -# Option 1: Hard coded full path to compiler suite -DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/ -DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/ -# -# Option 2: Use an environment variable -#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX) -#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(X64_PETOOLS_PREFIX) -# -# Option 3: Install the compiler suite into your default paths -#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32- -#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = x86_64-pc-mingw32- -# -# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory -# Links needed: gcc, ar & ld -#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32/ -#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64/ -# -# Option 5: Install programs under user's home directory -#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32- -#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/x64/bin/x86_64-pc-mingw32- -# - -DEFINE CYGWIN_BIN = c:/cygwin/bin -DEFINE CYGWIN_BINIA32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/ -DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/ - DEFINE GCC44_IA32_PREFIX = ENV(GCC44_BIN) DEFINE GCC44_X64_PREFIX = ENV(GCC44_BIN) @@ -235,8 +206,6 @@ DEFINE ICC_WIN_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYS DEFINE IPHONE_TOOLS = /Developer/Platforms/iPhoneOS.platform/Developer -DEFINE SOURCERY_CYGWIN_TOOLS = /cygdrive/c/Program Files/CodeSourcery/Sourcery G++ Lite/bin - DEFINE DTCPP_BIN = ENV(DTCPP_PREFIX)cpp DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc @@ -348,13 +317,6 @@ DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc # Required to build platforms or ACPI tables: # Intel(r) ACPI Compiler (iasl.exe) from # https://acpica.org/downloads -# UNIXGCC -UNIX- Requires: -# GCC 4.3.0 -# binutils 2.20.51.0.5 -# Optional: -# Required to build platforms or ACPI tables: -# Intel(r) ACPI Compiler from -# https://acpica.org/downloads # GCC44 -Linux,Windows- Requires: # GCC 4.4 targeting x86_64-linux-gnu # Optional: @@ -410,21 +372,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 -# Optional: -# Required to build EBC drivers: -# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler) -# Required to build platforms or ACPI tables: -# Intel(r) ACPI Compiler (iasl.exe) from -# https://acpica.org/downloads # ICC -win32- Requires: # Intel C Compiler V9.1 # Dependencies: @@ -528,15 +475,6 @@ DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc # Required to build platforms or ACPI tables: # Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from # http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi -# CYGGCCxASL -win32- Requires: -# CygWin, GCC 4.3.0, binutils 2.20.51.0.5 -# Microsoft Visual Studio 2005 or 2008 -# Optional: -# Required to build EBC drivers: -# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler) -# Required to build platforms or ACPI tables: -# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from -# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi # ICCxASL -win32- Requires: # Intel C Compiler V9.1 # Dependencies: @@ -697,24 +635,6 @@ DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc # Required to build platforms or ACPI tables: # Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from # http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi -# CYGGCCx86 -win64- Requires: -# CygWin, GCC 4.3.0, binutils 2.20.51.0.5 -# Microsoft Visual Studio 2005 or 2008 -# Optional: -# Required to build EBC drivers: -# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler) -# Required to build platforms or ACPI tables: -# Intel(r) ACPI Compiler (iasl.exe) from -# https://acpica.org/downloads -# CYGGCCx86xASL -win64- Requires: -# CygWin, GCC 4.3.0, binutils 2.20.51.0.5 -# Microsoft Visual Studio 2005 or 2008 -# Optional: -# Required to build EBC drivers: -# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler) -# Required to build platforms or ACPI tables: -# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from -# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi # RVCT -win- Requires: # ARM C/C++ Compiler, 5.00 # Optional: @@ -4278,72 +4198,6 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS = DEF(GCC49_AARCH64_ASLDLINK_FLAGS) #################################################################################### # -# Unix GCC And Intel Linux ACPI Compiler -# -#################################################################################### -# UNIXGCC - UNIX GCC -# ASL - Intel Linux ACPI Source Language Compiler (iasl) -*_UNIXGCC_*_*_FAMILY = GCC -*_UNIXGCC_*_*_BUILDRULEFAMILY = GCCLD - -*_UNIXGCC_*_MAKE_PATH = make -*_UNIXGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN) - -*_UNIXGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0 -*_UNIXGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0 -*_UNIXGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS) -*_UNIXGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS) -*_UNIXGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS) -*_UNIXGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS) -*_UNIXGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) -*_UNIXGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -*_UNIXGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) -*_UNIXGCC_*_APP_FLAGS = -*_UNIXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS) -*_UNIXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS) - -################## -# IA32 definitions -################## -*_UNIXGCC_IA32_OBJCOPY_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy -*_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc -*_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc -*_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar -*_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld -*_UNIXGCC_IA32_ASLPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc -*_UNIXGCC_IA32_ASLCC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc -*_UNIXGCC_IA32_ASLDLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld -*_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc -*_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc -*_UNIXGCC_IA32_RC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy - -*_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -*_UNIXGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) -*_UNIXGCC_IA32_OBJCOPY_FLAGS = -*_UNIXGCC_IA32_NASM_FLAGS = -f win32 - -################## -# X64 definitions -################## -*_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc -*_UNIXGCC_X64_ASLCC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc -*_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar -*_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld -*_UNIXGCC_X64_ASLDLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld -*_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc -*_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc -*_UNIXGCC_X64_ASLPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc -*_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc -*_UNIXGCC_X64_RC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy -*_UNIXGCC_X64_OBJCOPY_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy - -*_UNIXGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS) -*_UNIXGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) -*_UNIXGCC_X64_OBJCOPY_FLAGS = -*_UNIXGCC_X64_NASM_FLAGS = -f win64 - -#################################################################################### -# # GCC 4.4 - This configuration is used to compile under Linux to produce # PE/COFF binaries using GCC 4.4. # @@ -5358,247 +5212,6 @@ RELEASE_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl #################################################################################### # -# Cygwin GCC And Intel ACPI Compiler -# -#################################################################################### -# CYGGCC - CygWin GCC -# ASL - Intel ACPI Source Language Compiler (iasl.exe) -*_CYGGCC_*_*_FAMILY = GCC -*_CYGGCC_*_*_BUILDRULEFAMILY = GCCLD - -*_CYGGCC_*_*_DLL = DEF(CYGWIN_BIN) -*_CYGGCC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe -*_CYGGCC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN) - -*_CYGGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0 -*_CYGGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0 -*_CYGGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS) -*_CYGGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS) -*_CYGGCC_*_MAKE_FLAGS = /nologo -*_CYGGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS) -*_CYGGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS) -*_CYGGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) -*_CYGGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -*_CYGGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) -*_CYGGCC_*_APP_FLAGS = -*_CYGGCC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS) -*_CYGGCC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS) - -################## -# IA32 definitions -################## -*_CYGGCC_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCC_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar -*_CYGGCC_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld -*_CYGGCC_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCC_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCC_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCC_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCC_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCC_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCC_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld -*_CYGGCC_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy -*_CYGGCC_IA32_OBJCOPY_PATH = DEF(CYGWIN_BINIA32)objcopy - -*_CYGGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -*_CYGGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) -*_CYGGCC_IA32_OBJCOPY_FLAGS = -*_CYGGCC_IA32_NASM_FLAGS = -f win32 - -################## -# X64 definitions -################## -*_CYGGCC_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCC_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar -*_CYGGCC_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld -*_CYGGCC_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCC_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCC_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCC_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCC_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCC_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCC_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld -*_CYGGCC_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy -*_CYGGCC_X64_OBJCOPY_PATH = DEF(CYGWIN_BINX64)objcopy - -*_CYGGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS) -*_CYGGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) -*_CYGGCC_X64_OBJCOPY_FLAGS = -*_CYGGCC_X64_NASM_FLAGS = -f win64 - -################## -# EBC definitions -################## -*_CYGGCC_EBC_*_FAMILY = INTEL - -*_CYGGCC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe -*_CYGGCC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe -*_CYGGCC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe -*_CYGGCC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe -*_CYGGCC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe -*_CYGGCC_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe - -*_CYGGCC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) -*_CYGGCC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC -*_CYGGCC_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 - -#################################################################################### -# -# Cygwin GCC And Microsoft ACPI Compiler -# -#################################################################################### -# CYGGCCxASL - CygWin GCC -# ASL - Microsoft ACPI Source Language Compiler (asl.exe) -*_CYGGCCxASL_*_*_FAMILY = GCC -*_CYGGCCxASL_*_*_BUILDRULEFAMILY = GCCLD - -*_CYGGCCxASL_*_*_DLL = DEF(CYGWIN_BIN) -*_CYGGCCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe - -*_CYGGCCxASL_*_MAKE_FLAGS = /nologo -*_CYGGCCxASL_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h -*_CYGGCCxASL_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -*_CYGGCCxASL_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h -*_CYGGCCxASL_*_APP_FLAGS = -E -x assembler -*_CYGGCCxASL_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h - -################## -# ASL definitions -################## -*_CYGGCCxASL_*_ASL_PATH = DEF(WIN_ASL_BIN) -*_CYGGCCxASL_*_ASL_FLAGS = -*_CYGGCCxASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS) -*_CYGGCCxASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS) -*_CYGGCCxASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS) -*_CYGGCCxASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS) - -################## -# IA32 definitions -################## -*_CYGGCCxASL_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCCxASL_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar -*_CYGGCCxASL_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld -*_CYGGCCxASL_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCCxASL_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCCxASL_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCCxASL_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCCxASL_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCCxASL_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc -*_CYGGCCxASL_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld -*_CYGGCCxASL_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy - -*_CYGGCCxASL_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -*_CYGGCCxASL_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) - -################## -# X64 definitions -################## -*_CYGGCCxASL_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCCxASL_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar -*_CYGGCCxASL_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld -*_CYGGCCxASL_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCCxASL_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCCxASL_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCCxASL_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCCxASL_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCCxASL_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc -*_CYGGCCxASL_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld -*_CYGGCCxASL_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy - -*_CYGGCCxASL_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS) -*_CYGGCCxASL_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) - -################## -# EBC definitions -################## -*_CYGGCCxASL_EBC_*_FAMILY = INTEL - -*_CYGGCCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe -*_CYGGCCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe -*_CYGGCCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe -*_CYGGCCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe -*_CYGGCCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe -*_CYGGCCxASL_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe - -*_CYGGCCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) -*_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 # # ASL - Intel ACPI Source Language Compiler -- 2.13.0.windows.1