From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.4599.1683676428823101083 for ; Tue, 09 May 2023 16:53:48 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm1 header.b=VJ2XaA07; spf=pass (domain: bsdio.com, ip: 64.147.123.24, mailfrom: rebecca@bsdio.com) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 056113200976; Tue, 9 May 2023 19:53:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 09 May 2023 19:53:48 -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=1683676427; x= 1683762827; bh=WDZjKWVzgSLocaTHPTULnUg5LgWalqIdIuybZCDNs24=; b=V J2XaA07C3biVbQkXxNDiM5KqCfpqs9f75um0NEsCIZUSXTxtWX9Z0bn4Y8epARHn q8nlcMdBDXnNgTTypfiGHGR7/u8zEgOVNQ/Kn+nq9+W4H9L9/qJHSJEe0pOOw0m/ LZZOnN1Vmlr+n/n/YgNuacXnSFLonKLJMNOg6ty7hJSDfRYiVnnE6lOjdeXqtJDQ d9q4fLPNv9cmcGgIv4tbpa3u3XE4CG+00mVaDZA+DooEe7qiWkWBdhz0ArRgYhHM +tW9JQyBLNhiXTzXcoZmcDmrAa6d+n37kjiLKP+0rpQKOVtk0oYmAKOUGHtEfbKq 8Px5TFzs3R9hyCzO98hkg== 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=1683676427; x= 1683762827; bh=WDZjKWVzgSLocaTHPTULnUg5LgWalqIdIuybZCDNs24=; b=C e0rBsoPSluE0nGzT8M4uT2cSy05OfZcDU4PuCAMPASuUWkYoNvylo03XscDu4OO+ YUmin3xJvNbsRLuERWJr+Ur3o0DoE9PqXkp/pIok1XocaIrsL+tvO2bQlOpdyqVk ZybJjm80FFpLq8gkAebZeLtCD3l24fhHbIuc57R7jF8VGfMSZ4WcMzvvMeYDdwu8 gOjs2KZYDuSqvwYdNRZw+m9wUujnvFJ07tPs6jwE65GYXe9Fqfxi6MC66oPenXfv 2egCe4zKj9GQYsZnNaQH7Xp5VGSyi6Tc34lX9LLfu7m0gpLh7rDmzJjzD1/NN9OM /uso48vYHN2fUNoCn84Pw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeegvddgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 9 May 2023 19:53:46 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Liming Gao , Bob Feng , Yuwei Chen Cc: Rebecca Cran Subject: [edk2-stable202305 PATCH 2/4] BaseTools: Set the CLANGDWARF OBJCOPY path in tools_def.template Date: Tue, 9 May 2023 17:53:35 -0600 Message-Id: <20230509235337.1815842-3-rebecca@bsdio.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230509235337.1815842-1-rebecca@bsdio.com> References: <20230509235337.1815842-1-rebecca@bsdio.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Set the OBJCOPY path for the CLANGDWARF toolchain to 'llvm-objcopy' to override the default of 'echo'. Signed-off-by: Rebecca Cran --- BaseTools/Conf/tools_def.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index 8ed9cd3da4fa..96a413c4ca79 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -1864,6 +1864,7 @@ DEFINE CLANGDWARF_ALL_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) DEF(CLANGDWARF_ ########################### # CLANGDWARF IA32 definitions ########################### +*_CLANGDWARF_IA32_OBJCOPY_PATH = DEF(CLANGDWARF_IA32_PREFIX)llvm-objcopy *_CLANGDWARF_IA32_CC_PATH = DEF(CLANGDWARF_IA32_PREFIX)clang *_CLANGDWARF_IA32_SLINK_PATH = DEF(CLANGDWARF_IA32_PREFIX)llvm-ar *_CLANGDWARF_IA32_DLINK_PATH = DEF(CLANGDWARF_IA32_PREFIX)clang @@ -1900,6 +1901,7 @@ NOOPT_CLANGDWARF_IA32_DLINK2_FLAGS = DEF(CLANGDWARF_IA32_DLINK2_FLAGS) -O0 - ########################## # CLANGDWARF X64 definitions ########################## +*_CLANGDWARF_X64_OBJCOPY_PATH = DEF(CLANGDWARF_X64_PREFIX)llvm-objcopy *_CLANGDWARF_X64_CC_PATH = DEF(CLANGDWARF_X64_PREFIX)clang *_CLANGDWARF_X64_SLINK_PATH = DEF(CLANGDWARF_X64_PREFIX)llvm-ar *_CLANGDWARF_X64_DLINK_PATH = DEF(CLANGDWARF_X64_PREFIX)clang @@ -1947,6 +1949,7 @@ DEFINE CLANGDWARF_ARM_DLINK_FLAGS = DEF(CLANGDWARF_ARM_TARGET) DEF(GCC_ARM_DLI *_CLANGDWARF_ARM_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS) *_CLANGDWARF_ARM_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS) +*_CLANGDWARF_ARM_OBJCOPY_PATH = ENV(CLANGDWARF_BIN)llvm-objcopy *_CLANGDWARF_ARM_CC_PATH = ENV(CLANGDWARF_BIN)clang *_CLANGDWARF_ARM_ASM_PATH = ENV(CLANGDWARF_BIN)clang *_CLANGDWARF_ARM_PP_PATH = ENV(CLANGDWARF_BIN)clang @@ -1991,6 +1994,7 @@ DEFINE CLANGDWARF_AARCH64_DLINK_FLAGS = DEF(CLANGDWARF_AARCH64_TARGET) DEF(GCC_ *_CLANGDWARF_AARCH64_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS) *_CLANGDWARF_AARCH64_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS) +*_CLANGDWARF_AARCH64_OBJCOPY_PATH = ENV(CLANGDWARF_BIN)llvm-objcopy *_CLANGDWARF_AARCH64_CC_PATH = ENV(CLANGDWARF_BIN)clang *_CLANGDWARF_AARCH64_ASM_PATH = ENV(CLANGDWARF_BIN)clang *_CLANGDWARF_AARCH64_PP_PATH = ENV(CLANGDWARF_BIN)clang -- 2.39.2