From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mx.groups.io with SMTP id smtpd.web11.37287.1680206682316767346 for ; Thu, 30 Mar 2023 13:04:42 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm3 header.b=TVp7ONlY; spf=pass (domain: bsdio.com, ip: 64.147.123.25, mailfrom: rebecca@bsdio.com) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 40081320092D; Thu, 30 Mar 2023 16:04:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 30 Mar 2023 16:04:41 -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=fm3; t=1680206680; x= 1680293080; bh=wrw1axJF8lfdzBKj3xgBp7elM2PsqzxAJ69Nfpbm1Us=; b=T Vp7ONlYapjKw8ecxDF8aPktJvqUe8htqEmMG9/E//yyugyMxEMKaX+lVHJ5BSLV3 u517/SgOFbtSi8RTSQf8CkmTwW4ApluvJ/OuLIB33SiT+HOpIgs49J1icMVF6XXg E8I8CB7M/jPHS9oJNnBSZniaSAJcgAbjZLs8QzVrZd0QOZzEnjlOvrSxs8iFFfeo naFVzM4G9GVJ0Th7h5BVxH+8HHkZXOe97ACYAt1x31p+ZCbG0Ri45cWFHuY+M6li 9uDNZ0v6UCRnzD4ggjth94UaA2jxBi4CWHu7r3eQhgxUSG3SsR5bB/MKc2NDMx24 7Xf1E5cxWbCXTSzPHFpLw== 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=fm2; t=1680206680; x= 1680293080; bh=wrw1axJF8lfdzBKj3xgBp7elM2PsqzxAJ69Nfpbm1Us=; b=I fl7aJtmLEJJurXVB6WcqqUDStLtCc7xFjH1Q87bq/7rC2YcnX4gEaL7gL32sgjuS MHOMU4Nn0ZvDnpvR16SaeadSAdoMR2d2HfTyGOr2wRb6c3mg1Zi2encRfr8Ol0hD 7hptMsavpPAYazyI6L1+0Nn9ov5gbN07V6utj7hC19+7Pkak/Ff9S9gpUWTLbj8i qz+9tTXAmPC172NpQQqph9gUIcIEWJLEqTeE7M+55phzRvZQZfTZ7eq7BOCt1nwT 8jVFJccwa1eRLaYUinJ2r4MPKUgldovhUHGmsj5pexTJ6VftAgfxaeFq6MP9SUD5 aUZV5A9GkK0C15c+WFRGw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehledgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Mar 2023 16:04:39 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Bret Barkelew , Sean Brogan , Chris Fernald , Bob Feng , Michael Kubacki , Oliver Steffen , Liming Gao Cc: Rebecca Cran Subject: [PATCH edk2-basetools 1/1] Change BUILD_CFLAGS to CFLAGS to match edk2 BaseTools change Date: Thu, 30 Mar 2023 14:04:33 -0600 Message-Id: <20230330200433.1169365-2-rebecca@bsdio.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230330200433.1169365-1-rebecca@bsdio.com> References: <20230330200433.1169365-1-rebecca@bsdio.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In order to support building BaseTools using non-default compilers, a change is being made in the edk2 BaseTools directory to remove the 'BUILD_' prefix to CC, CXX, CFLAGS etc. so developers can for example run 'make CC=clang CXX=clang++' to build using clang. Update DscBuildData.py to generate Makefiles with CFLAGS instead of BUILD_CFLAGS. Signed-off-by: Rebecca Cran --- edk2basetools/Workspace/DscBuildData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edk2basetools/Workspace/DscBuildData.py b/edk2basetools/Workspace/DscBuildData.py index ff5662f35702..38a5283389f9 100644 --- a/edk2basetools/Workspace/DscBuildData.py +++ b/edk2basetools/Workspace/DscBuildData.py @@ -89,7 +89,7 @@ def _IsFieldValueAnArray (Value): ''' WindowsCFLAGS = 'CFLAGS = $(CFLAGS) /wd4200 /wd4034 /wd4101 ' -LinuxCFLAGS = 'BUILD_CFLAGS += -Wno-pointer-to-int-cast -Wno-unused-variable ' +LinuxCFLAGS = 'CFLAGS += -Wno-pointer-to-int-cast -Wno-unused-variable ' PcdMakefileEnd = ''' !INCLUDE $(BASE_TOOLS_PATH)\Source\C\Makefiles\ms.common !INCLUDE $(BASE_TOOLS_PATH)\Source\C\Makefiles\ms.app -- 2.34.1