From nobody Mon Feb 9 23:42:31 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+102932+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102932+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1681376002; cv=none; d=zohomail.com; s=zohoarc; b=A764Z1QPg29sB2xM6p6dgmmSMlH5wTw6au7O1OBgt9ya3cavWER0Nz/JKBZ3S4RJe/GDHq1LTtI5jWt0q6KIbDAoPgBsXBgJIMYAdZarOwu8s1W7r26+VTj6ySRCfG9UhdtY/NS0QiZ7WPiX+yuK2cMTH3neH91AcNlWxdLYds4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681376002; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=50WYepxuJeAvxk902Vxj+3FFHSRX51pBTVjQsNRBJIY=; b=c5lPfEE5SYXiWBN1VsEFKZCj/qaZo1lWDuCOQ+v+4YtFgc8hYD7dxracSsWOFkw9jXWjHsDuy3SZC+4tZ5Zhio7u/jFtkt5FpAy/4yQh24MjOZKiNFwZZutF5o9NspOY8cvMm0U/bFeSwtenT5/zkVq2jy40lkBzgK1hpkJppSk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102932+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1681376002805831.0147421789616; Thu, 13 Apr 2023 01:53:22 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id YaWRYY1788612xs193KeNnVw; Thu, 13 Apr 2023 01:53:22 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.7839.1681376001587895913 for ; Thu, 13 Apr 2023 01:53:21 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-227-OlwAUhPIOaqSdmQ7H80Wbg-1; Thu, 13 Apr 2023 04:53:16 -0400 X-MC-Unique: OlwAUhPIOaqSdmQ7H80Wbg-1 X-Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B5C1085C6E2; Thu, 13 Apr 2023 08:53:15 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.81]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EB47E404DC50; Thu, 13 Apr 2023 08:53:14 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B88B41800383; Thu, 13 Apr 2023 10:53:13 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Sunil V L , Zhiguang Liu , Rebecca Cran , Chao Li , Michael D Kinney , Pawel Polawski , Baoqi Zhang , Leif Lindholm , Dongyan Qian , Oliver Steffen , Bob Feng , Liming Gao , Ard Biesheuvel , =?UTF-8?q?Marvin=20H=C3=A4user?= , Daniel Schaefer , Yuwei Chen , Gerd Hoffmann Subject: [edk2-devel] [PATCH v3 01/10] BaseTools: add BASETOOLS define Date: Thu, 13 Apr 2023 10:53:04 +0200 Message-Id: <20230413085313.273483-2-kraxel@redhat.com> In-Reply-To: <20230413085313.273483-1-kraxel@redhat.com> References: <20230413085313.273483-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: V8HEoURwPMx4onGyA4gpIgcXx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1681376002; bh=saAPN66zpijAVLTZ0MPPBeuboO9xGErKNsXK32ECHiQ=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=enqHPbb8nyuDQ7WOyFFk6M5Pvy56KWTHhHYKUqkHE2PzwkThmgMwg/6l7/GjeZ2j48l COWDgmXKoQTFksPdRejaEXEDIwxKus3rMBj0c0tG26HbCJ1qUx4VZVZYqH8iGF1AOIdx7 4y/mGYF+QXxqNTtUJr099khRCU5zRLn57sY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1681376003219100002 Content-Type: text/plain; charset="utf-8"; x-default="true" Allows for BaseTools-specific tweaks in include files. Signed-off-by: Gerd Hoffmann --- BaseTools/Source/C/Makefiles/header.makefile | 3 +++ BaseTools/Source/C/Makefiles/ms.common | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/BaseTools/Source/C/Makefiles/header.makefile b/BaseTools/Sourc= e/C/Makefiles/header.makefile index 1bf003523baf..6b743fa297b0 100644 --- a/BaseTools/Source/C/Makefiles/header.makefile +++ b/BaseTools/Source/C/Makefiles/header.makefile @@ -124,6 +124,9 @@ ifeq ($(DARWIN),Darwin) endif endif =20 +CFLAGS +=3D -D BASETOOLS=3D1 +CXXFLAGS +=3D -D BASETOOLS=3D1 + # keep BUILD_OPTFLAGS last CFLAGS +=3D $(BUILD_OPTFLAGS) CXXFLAGS +=3D $(BUILD_OPTFLAGS) diff --git a/BaseTools/Source/C/Makefiles/ms.common b/BaseTools/Source/C/Ma= kefiles/ms.common index 8391f10d5dd2..6fc4c6477847 100644 --- a/BaseTools/Source/C/Makefiles/ms.common +++ b/BaseTools/Source/C/Makefiles/ms.common @@ -57,5 +57,5 @@ LINKER =3D $(LD) =20 INC =3D $(INC) -I . -I $(SOURCE_PATH)\Include -I $(ARCH_INCLUDE) -I $(SOUR= CE_PATH)\Common =20 -CFLAGS =3D $(CFLAGS) /nologo /Z7 /c /O2 /MT /W4 /WX /D _CRT_SECURE_NO_DEPR= ECATE /D _CRT_NONSTDC_NO_DEPRECATE -CPPFLAGS =3D $(CPPFLAGS) /EHsc /nologo /Z7 /c /O2 /MT /D _CRT_SECURE_NO_DE= PRECATE /D _CRT_NONSTDC_NO_DEPRECATE +CFLAGS =3D $(CFLAGS) /nologo /Z7 /c /O2 /MT /W4 /WX /D _CRT_SECURE_NO_DEPR= ECATE /D _CRT_NONSTDC_NO_DEPRECATE /D BASETOOLS +CPPFLAGS =3D $(CPPFLAGS) /EHsc /nologo /Z7 /c /O2 /MT /D _CRT_SECURE_NO_DE= PRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D BASETOOLS --=20 2.39.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102932): https://edk2.groups.io/g/devel/message/102932 Mute This Topic: https://groups.io/mt/98236904/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-