From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=missing; spf=permerror, err=parse error for token &{10 18 sdn.klaviyomail.com}: permanent DNS error (domain: starlabs.systems, ip: 212.23.1.22, mailfrom: sean@starlabs.systems) 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: [PATCH] UefiPayloadPkg: Add --quiet argument to Universal Payload build script Date: Tue, 29 Mar 2022 19:19:32 +0100 Message-Id: X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Originating-smarthost01c-IP: [217.155.46.38] Feedback-ID: 217.155.46.38 Content-Transfer-Encoding: quoted-printable 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):=0D BuildTarget =3D Args.Target=0D ToolChain =3D Args.ToolChain=0D + Quiet =3D Args.Quiet=0D ElfToolChain =3D 'CLANGDWARF'=0D =0D EntryModuleInf =3D os.path.normpath("UefiPayloadPkg/UefiPayloadEntry/U= niversalPayloadEntry.inf")=0D @@ -81,13 +82,13 @@ def BuildUniversalPayload(Args, MacroList): #=0D # Building DXE core and DXE drivers as DXEFV.=0D #=0D - BuildPayload =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -t {Tool= Chain} -y {PayloadReportPath}"=0D + BuildPayload =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -t {Tool= Chain} -y {PayloadReportPath} {Quiet}"=0D BuildPayload +=3D Defines=0D RunCommand(BuildPayload)=0D #=0D # Building Universal Payload entry.=0D #=0D - BuildModule =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -m {Entry= ModuleInf} -t {ElfToolChain} -y {ModuleReportPath}"=0D + BuildModule =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -m {Entry= ModuleInf} -t {ElfToolChain} -y {ModuleReportPath} {Quiet}"=0D BuildModule +=3D Defines=0D RunCommand(BuildModule)=0D =0D @@ -118,6 +119,7 @@ def main(): parser.add_argument('-b', '--Target', default=3D'DEBUG')=0D parser.add_argument("-D", "--Macro", action=3D"append", default=3D["UN= IVERSAL_PAYLOAD=3DTRUE"])=0D parser.add_argument('-i', '--ImageId', type=3Dstr, help=3D'Specify pay= load ID (16 bytes maximal).', default =3D'UEFI')=0D + parser.add_argument('-q', '--Quiet')=0D MacroList =3D {}=0D args =3D parser.parse_args()=0D if args.Macro is not None:=0D --=20 2.32.0