From patchwork Mon Mar 11 00:30:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054078 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HfFV38GWz9s4V for ; Mon, 11 Mar 2019 11:32:30 +1100 (AEDT) Received: from localhost ([127.0.0.1]:53028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38rk-0007jG-C5 for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 20:32:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38qx-0007hr-TE for qemu-devel@nongnu.org; Sun, 10 Mar 2019 20:31:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38qw-0003aY-27 for qemu-devel@nongnu.org; Sun, 10 Mar 2019 20:31:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40260) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38qu-0003ZT-Ov for qemu-devel@nongnu.org; Sun, 10 Mar 2019 20:31:37 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4FF614E938; Mon, 11 Mar 2019 00:31:35 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4961917A73; Mon, 11 Mar 2019 00:31:24 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Laszlo Ersek Date: Mon, 11 Mar 2019 01:30:50 +0100 Message-Id: <20190311003052.13778-4-philmd@redhat.com> In-Reply-To: <20190311003052.13778-1-philmd@redhat.com> References: <20190311003052.13778-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 11 Mar 2019 00:31:35 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 3/5] roms/edk2: Pass extra arguments to the build script via EDK2_BUILD_OPTIONS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , "Michael S . Tsirkin" , =?utf-8?b?TWljaGFsIFByw612b3puw61r?= , Gerd Hoffmann , Igor Mammedov , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The current EDK2 options produce a very verbose output. When building the roms on Continuous Integration systems (such Travis CI) the system limit is quickly reached. Add an variable to optionally pass arguments to the edk2-build.sh script. Example of use: $ EDK2_BUILD_OPTIONS="--quiet --silent" make -C roms efi ... Signed-off-by: Philippe Mathieu-Daudé --- roms/Makefile.edk2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roms/Makefile.edk2 b/roms/Makefile.edk2 index 6c5e9b9eea..70f84b20df 100644 --- a/roms/Makefile.edk2 +++ b/roms/Makefile.edk2 @@ -44,6 +44,7 @@ submodules: ../pc-bios/edk2-aarch64-code.fd: submodules +./edk2-build.sh \ aarch64 \ + $(EDK2_BUILD_OPTIONS) \ --arch=AARCH64 \ --platform=ArmVirtPkg/ArmVirtQemu.dsc \ -D NETWORK_IP6_ENABLE \ @@ -55,6 +56,7 @@ submodules: ../pc-bios/edk2-arm-code.fd: submodules +./edk2-build.sh \ arm \ + $(EDK2_BUILD_OPTIONS) \ --arch=ARM \ --platform=ArmVirtPkg/ArmVirtQemu.dsc \ -D NETWORK_IP6_ENABLE \ @@ -66,6 +68,7 @@ submodules: ../pc-bios/edk2-i386-code.fd: submodules +./edk2-build.sh \ i386 \ + $(EDK2_BUILD_OPTIONS) \ --arch=IA32 \ --platform=OvmfPkg/OvmfPkgIa32.dsc \ -D NETWORK_IP6_ENABLE \ @@ -78,6 +81,7 @@ submodules: ../pc-bios/edk2-i386-secure-code.fd: submodules +./edk2-build.sh \ i386 \ + $(EDK2_BUILD_OPTIONS) \ --arch=IA32 \ --platform=OvmfPkg/OvmfPkgIa32.dsc \ -D NETWORK_IP6_ENABLE \ @@ -92,6 +96,7 @@ submodules: ../pc-bios/edk2-x86_64-code.fd: submodules +./edk2-build.sh \ x86_64 \ + $(EDK2_BUILD_OPTIONS) \ --arch=X64 \ --platform=OvmfPkg/OvmfPkgX64.dsc \ -D NETWORK_IP6_ENABLE \ @@ -104,6 +109,7 @@ submodules: ../pc-bios/edk2-x86_64-secure-code.fd: submodules +./edk2-build.sh \ x86_64 \ + $(EDK2_BUILD_OPTIONS) \ --arch=IA32 \ --arch=X64 \ --platform=OvmfPkg/OvmfPkgIa32X64.dsc \