From nobody Fri Dec 27 18:33:08 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1499059701734722.6794318350417; Sun, 2 Jul 2017 22:28:21 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id B1FD021CB57B5; Sun, 2 Jul 2017 22:26:43 -0700 (PDT) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 084F421CAD9A7 for ; Sun, 2 Jul 2017 22:26:43 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP; 02 Jul 2017 22:28:19 -0700 Received: from shwde7172.ccr.corp.intel.com ([10.239.9.14]) by fmsmga002.fm.intel.com with ESMTP; 02 Jul 2017 22:28:18 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,301,1496127600"; d="scan'208";a="1189857013" From: Liming Gao To: edk2-devel@lists.01.org Date: Mon, 3 Jul 2017 13:28:10 +0800 Message-Id: <1499059690-6448-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [edk2] [Patch] BaseTools: Update tools_def.template to remove old XCLANG and XCODE32 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Fish MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Per Andrew Fish recommendation, XCLANG and XCODE32 are not used anymore.=20 https://bugzilla.tianocore.org/show_bug.cgi?id=3D562 https://bugzilla.tianocore.org/show_bug.cgi?id=3D563 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Cc: Andrew Fish Cc: Yonghong Zhu Reviewed-by: Andrew Fish --- BaseTools/Conf/tools_def.template | 176 ----------------------------------= ---- 1 file changed, 176 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index 65f2106..7d3f542 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -7251,182 +7251,6 @@ NOOPT_MYTOOLS_IPF_DLINK_FLAGS =3D /NOLOG= O /NODEFAULTLIB /LTCG /DLL /OPT *_MYTOOLS_EBC_DLINK_FLAGS =3D "C:\Program Files\Intel\EBC\L= ib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_E= NTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 =20 -##########################################################################= ########## -# -# Xcode Support for building on Mac OS X (Snow Leopard) -# -##########################################################################= ########## -# XCODE32 - Xcode 3.2 Tools (Snow Leopard) -*_XCODE32_*_*_FAMILY =3D GCC -*_XCODE32_*_*_BUILDRULEFAMILY =3D XCODE -*_XCODE32_*_*_BUILDRULEORDER =3D S s nasm - - -*_XCODE32_*_ASL_PATH =3D /usr/bin/iasl - -*_XCODE32_*_MAKE_PATH =3D make - -*_XCODE32_*_DSYMUTIL_PATH =3D /usr/bin/dsymutil - -# This tool needs to be installed seperatly from Xcode 3.2 -*_XCODE32_*_MTOC_PATH =3D /usr/local/bin/mtoc - - DEBUG_XCODE32_*_MTOC_FLAGS =3D -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME= ).dll -RELEASE_XCODE32_*_MTOC_FLAGS =3D -align 0x20 - -################## -# IA32 definitions -################## -*_XCODE32_IA32_CC_PATH =3D gcc -*_XCODE32_IA32_SLINK_PATH =3D libtool -*_XCODE32_IA32_DLINK_PATH =3D ld -*_XCODE32_IA32_ASM_PATH =3D as -*_XCODE32_IA32_PP_PATH =3D gcc -*_XCODE32_IA32_VFRPP_PATH =3D gcc -*_XCODE32_IA32_ASL_PATH =3D iasl -*_XCODE32_IA32_ASLCC_PATH =3D gcc -*_XCODE32_IA32_ASLPP_PATH =3D gcc -*_XCODE32_IA32_ASLDLINK_PATH =3D ld - - DEBUG_XCODE32_IA32_DLINK_FLAGS =3D -arch i386 -u _$(IMAGE_ENTRY_POI= NT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_= strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(B= ASE_NAME).map -RELEASE_XCODE32_IA32_DLINK_FLAGS =3D -arch i386 -u _$(IMAGE_ENTRY_POI= NT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_= strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(B= ASE_NAME).map -*_XCODE32_IA32_SLINK_FLAGS =3D -static -o - DEBUG_XCODE32_IA32_ASM_FLAGS =3D -arch i386 -g -RELEASE_XCODE32_IA32_ASM_FLAGS =3D -arch i386 -*_XCODE32_IA32_NASM_FLAGS =3D -f macho32 -*_XCODE32_IA32_PP_FLAGS =3D -arch i386 -E -x assembler-with-cpp -i= nclude $(DEST_DIR_DEBUG)/AutoGen.h -*_XCODE32_IA32_VFRPP_FLAGS =3D -arch i386 -x c -E -P -DVFRCOMPILE --i= nclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h - DEBUG_XCODE32_IA32_CC_FLAGS =3D -arch i386 -save-temps -g -O0 -combine= -mms-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-miss= ing-braces -c -include AutoGen.h -mdynamic-no-pic -fno-stack-protector -RELEASE_XCODE32_IA32_CC_FLAGS =3D -arch i386 -Oz -combine -mms-bitfields= -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -fom= it-frame-pointer -c -include AutoGen.h -mdynamic-no-pic -fno-stack-protector - -*_XCODE32_IA32_ASLCC_FLAGS =3D -arch i386 -x c -save-temps -g -O0 -mm= s-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-b= races -c -include AutoGen.h -mdynamic-no-pic -*_XCODE32_IA32_ASLDLINK_FLAGS =3D -arch i386 -e _main -preload -segalign= 0x20 -pie -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBU= G)/$(BASE_NAME).map -*_XCODE32_IA32_ASLPP_FLAGS =3D -arch i386 -x c -E -include AutoGen.h -*_XCODE32_IA32_ASL_FLAGS =3D - -################## -# X64 definitions - still a work in progress. This tool chain does not pro= duce -# the correct ABI, it is just used to compile the code.... -################## -*_XCODE32_X64_CC_PATH =3D gcc -*_XCODE32_X64_SLINK_PATH =3D libtool -*_XCODE32_X64_DLINK_PATH =3D ld -*_XCODE32_X64_ASM_PATH =3D as -*_XCODE32_X64_PP_PATH =3D gcc -*_XCODE32_X64_VFRPP_PATH =3D gcc -*_XCODE32_X64_ASL_PATH =3D iasl -*_XCODE32_X64_ASLCC_PATH =3D gcc -*_XCODE32_X64_ASLPP_PATH =3D gcc -*_XCODE32_X64_ASLDLINK_PATH =3D ld - -*_XCODE32_X64_DLINK_FLAGS =3D -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -= e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -seg1addr 0x240 -read= _only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map -*_XCODE32_X64_SLINK_FLAGS =3D -static -o - - DEBUG_XCODE32_X64_ASM_FLAGS =3D -arch x86_64 -g -RELEASE_XCODE32_X64_ASM_FLAGS =3D -arch x86_64 -*_XCODE32_X64_NASM_FLAGS =3D -f macho64 -*_XCODE32_X64_PP_FLAGS =3D -arch x86_64 -E -x assembler-with-cpp -= include $(DEST_DIR_DEBUG)/AutoGen.h -*_XCODE32_X64_VFRPP_FLAGS =3D -arch x86_64 -x c -E -P -DVFRCOMPILE --= include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h - - DEBUG_XCODE32_X64_CC_FLAGS =3D -arch x86_64 -save-temps -g -O0 -mms-bi= tfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-brace= s -Wno-address -fomit-frame-pointer -static -c -include AutoGen.h -fno-st= ack-protector -RELEASE_XCODE32_X64_CC_FLAGS =3D -arch x86_64 -Oz -mms-bitfields -fshort= -wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-address = -fomit-frame-pointer -static -c -include AutoGen.h -fno-stack-protector - -################## -# ARM definitions - (Assumes iPhone SDK installed on Snow Leopard) -################## - -*_XCODE32_ARM_ARCHCC_FLAGS =3D -arch armv7 -march=3Darmv7 -mthumb -*_XCODE32_ARM_ARCHASM_FLAGS =3D -arch armv7 -*_XCODE32_ARM_ARCHDLINK_FLAGS =3D -arch armv7 -*_XCODE32_ARM_PLATFORM_FLAGS =3D - -*_XCODE32_ARM_CC_PATH =3D DEF(IPHONE_TOOLS)/usr/bin/gcc -*_XCODE32_ARM_SLINK_PATH =3D DEF(IPHONE_TOOLS)/usr/bin/libtool -*_XCODE32_ARM_DLINK_PATH =3D ld -*_XCODE32_ARM_ASM_PATH =3D DEF(IPHONE_TOOLS)/usr/bin/as -*_XCODE32_ARM_PP_PATH =3D DEF(IPHONE_TOOLS)/usr/bin/gcc -*_XCODE32_ARM_VFRPP_PATH =3D DEF(IPHONE_TOOLS)/usr/bin/gcc - - DEBUG_XCODE32_ARM_DLINK_FLAGS =3D $(ARCHDLINK_FLAGS) -u _$(IMAGE_EN= TRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load= -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEB= UG)/$(BASE_NAME).map -RELEASE_XCODE32_ARM_DLINK_FLAGS =3D $(ARCHDLINK_FLAGS) -u _$(IMAGE_EN= TRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load= -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEB= UG)/$(BASE_NAME).map - -*_XCODE32_ARM_SLINK_FLAGS =3D -static -o - - DEBUG_XCODE32_ARM_ASM_FLAGS =3D $(ARCHASM_FLAGS) -g -RELEASE_XCODE32_ARM_ASM_FLAGS =3D $(ARCHASM_FLAGS) -*_XCODE32_ARM_PP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x= assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h -*_XCODE32_ARM_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c = -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h - - DEBUG_XCODE32_ARM_CC_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mthu= mb-interwork -g -Oz -mabi=3Daapcs -mapcs -fno-short-enums -save-temps -com= bine -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -= fomit-frame-pointer -c -include AutoGen.h -RELEASE_XCODE32_ARM_CC_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mthu= mb-interwork -Oz -mabi=3Daapcs -mapcs -fno-short-enums -save-temps -com= bine -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -= fomit-frame-pointer -c -include AutoGen.h - - -##########################################################################= ########## -# -# Clang Support for building on Mac OS X -# -##########################################################################= ########## -# CLANG - clang that produce Mach-O with EFI x86_64 ABI -*_XCLANG_*_*_FAMILY =3D GCC -*_XCLANG_*_*_BUILDRULEFAMILY =3D XCODE -*_XCLANG_*_*_BUILDRULEORDER =3D S s nasm - -*_XCLANG_*_ASL_PATH =3D /usr/bin/iasl - -*_XCLANG_*_MAKE_PATH =3D make -*_XCLANG_*_DSYMUTIL_PATH =3D /usr/bin/dsymutil - - *_*_*_MTOC_PATH =3D /usr/local/bin/mtoc - - DEBUG_XCLANG_*_MTOC_FLAGS =3D -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME)= .dll -RELEASE_XCLANG_*_MTOC_FLAGS =3D -align 0x20 - - -*_XCLANG_*_CC_PATH =3D ENV(CLANG_BIN)clang -*_XCLANG_*_SLINK_PATH =3D libtool -*_XCLANG_*_DLINK_PATH =3D ld -*_XCLANG_*_ASM_PATH =3D as -*_XCLANG_*_PP_PATH =3D ENV(CLANG_BIN)clang -*_XCLANG_*_VFRPP_PATH =3D ENV(CLANG_BIN)clang -*_XCLANG_*_ASL_PATH =3D iasl -*_XCLANG_*_ASLCC_PATH =3D ENV(CLANG_BIN)clang -*_XCLANG_*_ASLPP_PATH =3D ENV(CLANG_BIN)clang -*_XCLANG_*_ASLDLINK_PATH =3D ld - -#################### -# IA-32 definitions -#################### - DEBUG_XCLANG_IA32_DLINK_FLAGS =3D -arch i386 -u _$(IMAGE_ENTRY_POIN= T) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_s= trip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BA= SE_NAME).map -RELEASE_XCLANG_IA32_DLINK_FLAGS =3D -arch i386 -u _$(IMAGE_ENTRY_POIN= T) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_s= trip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BA= SE_NAME).map -*_XCLANG_IA32_SLINK_FLAGS =3D -static -o - DEBUG_XCLANG_IA32_ASM_FLAGS =3D -arch i386 -g -RELEASE_XCLANG_IA32_ASM_FLAGS =3D -arch i386=20 -*_XCLANG_IA32_NASM_FLAGS =3D -f macho32 - - DEBUG_XCLANG_IA32_CC_FLAGS =3D -arch i386 -c -g -O0 -Wall -Werror -in= clude AutoGen.h -fno-stack-protector -fno-builtin -fshort-wchar -mdynamic-n= o-pic -mno-sse -mno-mmx -Wno-empty-body -Wno-pointer-sign -Wno-unused-funct= ion -Wno-unused-value -Wno-missing-braces -Wno-tautological-compare -Wretur= n-type -Wno-unused-variable -fasm-blocks -mms-bitfields -msoft-float -ftr= ap-function=3Dundefined_behavior_has_been_optimized_away_by_clang -RELEASE_XCLANG_IA32_CC_FLAGS =3D -arch i386 -c -Os -Wall -Werror -in= clude AutoGen.h -fno-stack-protector -fno-builtin -fshort-wchar -mdynamic-n= o-pic -mno-sse -mno-mmx -Wno-empty-body -Wno-pointer-sign -Wno-unused-funct= ion -Wno-unused-value -Wno-missing-braces -Wno-tautological-compare -Wretur= n-type -Wno-unused-variable -fasm-blocks -mms-bitfields -msoft-float -ftr= ap-function=3Dundefined_behavior_has_been_optimized_away_by_clang - - -################## -# X64 definitions -################## - DEBUG_XCLANG_X64_DLINK_FLAGS =3D -arch x86_64 -u _$(IMAGE_ENTRY_POI= NT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_= strip -seg1addr 0x240 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map -RELEASE_XCLANG_X64_DLINK_FLAGS =3D -arch x86_64 -u _$(IMAGE_ENTRY_POI= NT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_= strip -seg1addr 0x220 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map -*_XCLANG_X64_SLINK_FLAGS =3D -static -o - DEBUG_XCLANG_X64_ASM_FLAGS =3D -arch x86_64 -g -RELEASE_XCLANG_X64_ASM_FLAGS =3D -arch x86_64=20 -*_XCLANG_X64_NASM_FLAGS =3D -f macho64 -*_XCLANG_*_PP_FLAGS =3D -E -x assembler-with-cpp -include $(DEST_D= IR_DEBUG)/AutoGen.h=20 -*_XCLANG_*_VFRPP_FLAGS =3D -x c -E -P -DVFRCOMPILE -include $(DEST_DI= R_DEBUG)/$(MODULE_NAME)StrDefs.h=20 - - - DEBUG_XCLANG_X64_CC_FLAGS =3D -ccc-host-triple x86_64-pc-win32-macho -= c -g -O0 -Wall -Werror -include AutoGen.h -fno-stack-protector -fno-builti= n -fshort-wchar -mdynamic-no-pic -Wno-empty-body -Wno-pointer-sign -Wno-unu= sed-function -Wno-unused-value -Wno-missing-braces -Wno-tautological-compar= e -Wreturn-type -Wno-unused-variable -ftrap-function=3Dundefined_behavior_h= as_been_optimized_away_by_clang -RELEASE_XCLANG_X64_CC_FLAGS =3D -ccc-host-triple x86_64-pc-win32-macho -= c -Os -Wall -Werror -include AutoGen.h -fno-stack-protector -fno-builti= n -fshort-wchar -mdynamic-no-pic -Wno-empty-body -Wno-pointer-sign -Wno-unu= sed-function -Wno-unused-value -Wno-missing-braces -Wno-tautological-compar= e -Wreturn-type -Wno-unused-variable -ftrap-function=3Dundefined_behavior_h= as_been_optimized_away_by_clang -*_XCLANG_*_ASLCC_FLAGS =3D -x c -save-temps -g -O0 -fshort-wchar -fno= -strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h -m= dynamic-no-pic -*_XCLANG_*_ASLDLINK_FLAGS =3D -e _main -preload -segalign 0x20 -pie -se= g1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME)= .map -*_XCLANG_*_ASLPP_FLAGS =3D -x c -E -include AutoGen.h -*_XCLANG_*_ASL_FLAGS =3D - # # XCODE5 support # --=20 2.8.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel