From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx.groups.io with SMTP id smtpd.web10.98624.1682957350095677224 for ; Mon, 01 May 2023 09:09:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm1 header.b=N93UDavv; spf=pass (domain: bsdio.com, ip: 66.111.4.25, mailfrom: rebecca@bsdio.com) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6BAC75C010D; Mon, 1 May 2023 12:09:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 01 May 2023 12:09:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1682957349; x= 1683043749; bh=4KPs1ie03hC/4uT8TS8ECr4Z+NW1vLjm3TDkCxezV1k=; b=N 93UDavvWIvDZ87tRZEaqPZ1lv4s77w+Jm1yXPheznimKykC5iOYkBr4UOP0vyKfA QGMn8rf/RfFJZDjp4+0znTLZDoUmuRs7oQNsog9Y7WmGLIIlmUYkeYstaFafiZG2 +NbAdIDN1vhcDa2UmRvJUjuGtAQQWLqpt8Kd4VQjMD6xFa+/Nfl4fU5OaJ4qr/iG 3EUCeQFj1HJyHMgkyRuP+wi3Hv1fbNmTDpdm1o7jDp9Aciq3gni9Ild7GiAX/uJx 6+QFzTgysVQ/zF9E/bnkjmPi5AVAF2/lCfTjjktIL0fhZwtt8CanA1+iyZxM3SQD cev4GShRq7TRYmfSFQCdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1682957349; x= 1683043749; bh=4KPs1ie03hC/4uT8TS8ECr4Z+NW1vLjm3TDkCxezV1k=; b=k q+55Qi6Tq98AeEJWoYDUvPZSTcsm1Gb7nmfr56u99zhMeawfyKsZTmOYKwU9jXYF ftYKjr4aSJPLj6IMv8Ffc+Q32ih5gGTMHHseDQJ7sS1hPmQb3sVMUZM/qU7J1ky9 oNsdUNbgNQ/isKwAe7INykEn6r9DJ8fnp3LgKNuoghx8pPXxzoQiC38G1RC5FYa7 QxWj8U67igtutnsRrsUXH5TQju1hhIA4ckYTfD/+HYefztccxWjC7fcMOZXmXFG+ 9g7gzC06Kxo2xGCk0E8KPu0rdUNiPRoFdPmOu86F+L1HGJxkmSvwwk5HyWr1vXhD EPBN0gqIHsq10M9k8fF0w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvgedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepheffuddvheeiudevgfeitedvhfelveevveeuveelhfeitdegueelleeguedt ueevnecuffhomhgrihhnpegrtghpihgtrgdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 May 2023 12:09:07 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Liming Gao , Bob Feng , Yuwei Chen , Michael D Kinney , Michael Kubacki , Sean Brogan , Chasel Chiu , Nate DeSimone , Star Zeng , Andrew Fish , Ray Ni , Leif Lindholm , Zhiguang Liu , Jian J Wang , Xiaoyu Lu , Guomin Jiang , Gua Guo , Ard Biesheuvel , Pedro Falcato , Gerd Hoffmann , mhaeuser@posteo.de Cc: Rebecca Cran , Oliver Smith-Denny Subject: [PATCH v6 06/16] BaseTools: Remove EBC (EFI Byte Code) compiler definitions Date: Mon, 1 May 2023 10:08:29 -0600 Message-Id: <20230501160839.884391-7-rebecca@bsdio.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230501160839.884391-1-rebecca@bsdio.com> References: <20230501160839.884391-1-rebecca@bsdio.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The edk2-stable202302 release was the last to support building EFI Byte Code drivers. Since the Intel EFI Byte Code Compiler is no longer available, a decision has been made to remove support for EBC from edk2. Remove the definitions for Intel's EBC compiler from Conf/tools_def.template. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 98 -------------------- 1 file changed, 98 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index 79038c3784eb..167829e8260d 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -67,10 +67,6 @@ DEFINE WINSDK10_BIN = ENV(WINSDK10_PREFIX)DEF(VS_HOST) DEFINE WINDDK_BIN16 = ENV(WINDDK3790_PREFIX)bin16 DEFINE WINDDK_BINX64 = ENV(WINDDK3790_PREFIX)win64\x86\amd64 -DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin -DEFINE EBC_BINx86 = C:\Program Files (x86)\Intel\EBC\Bin - - 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/ @@ -135,16 +131,12 @@ DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc # Microsoft Visual Studio 2015 Professional Edition # Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830 # 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 # VS2017 -win32- Requires: # Microsoft Visual Studio 2017 version 15.2 (15.4 for ARM64) or later # 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 @@ -154,8 +146,6 @@ DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc # VS2019 -win32- Requires: # Microsoft Visual Studio 2019 version 16.2 or later # 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 @@ -235,22 +225,6 @@ DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc #################################################################################### #################################################################################### # -# Intel EFI Byte Code Compiler (Template) -# -#################################################################################### -# *_*_EBC_*_FAMILY = INTEL -# -# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe -# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe -# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe -# -# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC -# *_*_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h -# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FIAutoGen.h -# *_*_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /ALIGN:32 /DRIVER -# -#################################################################################### -# # Intel ACPI Source Language Compiler (Template) # #################################################################################### @@ -365,25 +339,6 @@ NOOPT_VS2015_X64_NASM_FLAGS = -O0 -f win64 -g RELEASE_VS2015_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data NOOPT_VS2015_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG -################## -# EBC definitions -################## -*_VS2015_EBC_*_FAMILY = INTEL -*_VS2015_EBC_*_DLL = DEF(VS2015_DLL) - -*_VS2015_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe -*_VS2015_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe -*_VS2015_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe -*_VS2015_EBC_SLINK_PATH = DEF(VS2015_BIN)\link.exe -*_VS2015_EBC_DLINK_PATH = DEF(VS2015_BIN)\link.exe - -*_VS2015_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h -*_VS2015_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) -*_VS2015_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h -*_VS2015_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC -*_VS2015_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 /MAP /ALIGN:32 /DRIVER - - #################################################################################### # VS2015x86 - Microsoft Visual Studio 2015 (x86) professional with Intel ASL # ASL - Intel ACPI Source Language Compiler (iasl.exe) @@ -477,25 +432,6 @@ NOOPT_VS2015x86_X64_NASM_FLAGS = -O0 -f win64 -g RELEASE_VS2015x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data NOOPT_VS2015x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG -################## -# EBC definitions -################## -*_VS2015x86_EBC_*_FAMILY = INTEL -*_VS2015x86_EBC_*_DLL = DEF(VS2015x86_DLL) - -*_VS2015x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2015x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2015x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2015x86_EBC_SLINK_PATH = DEF(VS2015x86_BIN)\link.exe -*_VS2015x86_EBC_DLINK_PATH = DEF(VS2015x86_BIN)\link.exe - -*_VS2015x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h -*_VS2015x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) -*_VS2015x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h -*_VS2015x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC -*_VS2015x86_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER - - #################################################################################### # VS2017 - Microsoft Visual Studio 2017 with Intel ASL # ASL - Intel ACPI Source Language Compiler (iasl.exe) @@ -637,23 +573,6 @@ NOOPT_VS2017_AARCH64_ASM_FLAGS = /nologo RELEASE_VS2017_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /MERGE:.rdata=.data NOOPT_VS2017_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /DEBUG -################## -# EBC definitions -################## -*_VS2017_EBC_*_FAMILY = INTEL - -*_VS2017_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2017_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2017_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2017_EBC_SLINK_PATH = DEF(VS2017_BIN_IA32)\link.exe -*_VS2017_EBC_DLINK_PATH = DEF(VS2017_BIN_IA32)\link.exe - -*_VS2017_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h -*_VS2017_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) -*_VS2017_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h -*_VS2017_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC -*_VS2017_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER - #################################################################################### # VS2019 - Microsoft Visual Studio 2019 with Intel ASL # ASL - Intel ACPI Source Language Compiler (iasl.exe) @@ -795,23 +714,6 @@ NOOPT_VS2019_AARCH64_ASM_FLAGS = /nologo RELEASE_VS2019_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /MERGE:.rdata=.data NOOPT_VS2019_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /DEBUG -################## -# EBC definitions -################## -*_VS2019_EBC_*_FAMILY = INTEL - -*_VS2019_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2019_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2019_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe -*_VS2019_EBC_SLINK_PATH = DEF(VS2019_BIN_IA32)\link.exe -*_VS2019_EBC_DLINK_PATH = DEF(VS2019_BIN_IA32)\link.exe - -*_VS2019_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h -*_VS2019_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) -*_VS2019_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h -*_VS2019_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC -*_VS2019_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER - #################################################################################### # GCC Common #################################################################################### -- 2.39.2