From nobody Sun Nov 24 12:01:28 2024 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+88185+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+88185+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1648577977; cv=none; d=zohomail.com; s=zohoarc; b=QIZpZTnKJFtcWK0qfZdMDgztYe2F97BMUK1prv/hLHzKl1P+BMdX8wBVLAovWJYfHeEj3deuR509evfdGW43X17u2SY7y9L20LtJFsmtEr4e9ooVsRaTtdu4wPG1E/1UI2lFX0XJKSVevWXI6+3YYqiHV7bQIZhc1czkdkDHpPo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648577977; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=Edt3TOZ/ul/DT8tj/FUnCSF/Xbq4zT6GIzMSayJXnDk=; b=LHbZrfo9TdCIryuMZLV7UNJu7L84uYY9nnQQJLp2YdUcaGDhMftj4DjJh8ubPlYVet+qYjmvTm0twKGNRVjrrNrue/zgTB48SU9NXZ+/HHH/wvcjHRObuD3XBoyq9vBPBtWXyHOS0o1YLXHOQTTFY5O0JNUGkY+PVNpkmu7/y7c= 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+88185+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 164857797747159.629619627635634; Tue, 29 Mar 2022 11:19:37 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id IgieYY1788612xJHSv3E6cMM; Tue, 29 Mar 2022 11:19:37 -0700 X-Received: from smarthost01c.ixn.mail.zen.net.uk (smarthost01c.ixn.mail.zen.net.uk [212.23.1.22]) by mx.groups.io with SMTP id smtpd.web10.179.1648577975624437422 for ; Tue, 29 Mar 2022 11:19:36 -0700 X-Received: from [217.155.46.38] (helo=sean-StarBook.lan) by smarthost01c.ixn.mail.zen.net.uk with esmtp (Exim 4.90_1) (envelope-from ) id 1nZGRJ-0008Os-E5; Tue, 29 Mar 2022 18:19:33 +0000 From: "Sean Rhodes" To: devel@edk2.groups.io Cc: Sean Rhodes Subject: [edk2-devel] [PATCH] UefiPayloadPkg: Add --quiet argument to Universal Payload build script Date: Tue, 29 Mar 2022 19:19:32 +0100 Message-Id: MIME-Version: 1.0 X-Originating-smarthost01c-IP: [217.155.46.38] Feedback-ID: 217.155.46.38 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,sean@starlabs.systems X-Gm-Message-State: CAAAVPHcZeiO0vygEhmQXR1vx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648577977; bh=ThgsWDyAr3j5MUVxONRQEkfb9dFqWBlSIP7Wj+byDUs=; h=Cc:Date:From:Reply-To:Subject:To; b=xG7Fu24eVToqGrGuhahbKU93LhBg0Hy1yIvIFyErcZW36kTKnuNL2b4rZOWeZhu4I29 5zPzv0vC77XBkcPrfDaV4JpdOolVtVvTEY+vLpb7boAkqQ0RxCj8U3J8MsVq34c/izkjX TruvLJQ0AjCmh42HoHSpIZ2fHbi/LS5xcIs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648577978034100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Sean Rhodes --- UefiPayloadPkg/UniversalPayloadBuild.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/Unive= rsalPayloadBuild.py index e624ec5874..61fe3f79f5 100644 --- a/UefiPayloadPkg/UniversalPayloadBuild.py +++ b/UefiPayloadPkg/UniversalPayloadBuild.py @@ -53,6 +53,7 @@ def RunCommand(cmd): def BuildUniversalPayload(Args, MacroList): BuildTarget =3D Args.Target ToolChain =3D Args.ToolChain + Quiet =3D Args.Quiet ElfToolChain =3D 'CLANGDWARF' =20 EntryModuleInf =3D os.path.normpath("UefiPayloadPkg/UefiPayloadEntry/U= niversalPayloadEntry.inf") @@ -81,13 +82,13 @@ def BuildUniversalPayload(Args, MacroList): # # Building DXE core and DXE drivers as DXEFV. # - BuildPayload =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -t {Tool= Chain} -y {PayloadReportPath}" + BuildPayload =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -t {Tool= Chain} -y {PayloadReportPath} {Quiet}" BuildPayload +=3D Defines RunCommand(BuildPayload) # # Building Universal Payload entry. # - BuildModule =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -m {Entry= ModuleInf} -t {ElfToolChain} -y {ModuleReportPath}" + BuildModule =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -m {Entry= ModuleInf} -t {ElfToolChain} -y {ModuleReportPath} {Quiet}" BuildModule +=3D Defines RunCommand(BuildModule) =20 @@ -118,6 +119,7 @@ def main(): parser.add_argument('-b', '--Target', default=3D'DEBUG') parser.add_argument("-D", "--Macro", action=3D"append", default=3D["UN= IVERSAL_PAYLOAD=3DTRUE"]) parser.add_argument('-i', '--ImageId', type=3Dstr, help=3D'Specify pay= load ID (16 bytes maximal).', default =3D'UEFI') + parser.add_argument('-q', '--Quiet') MacroList =3D {} args =3D parser.parse_args() if args.Macro is not None: --=20 2.32.0 -=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 (#88185): https://edk2.groups.io/g/devel/message/88185 Mute This Topic: https://groups.io/mt/90114734/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-