qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/5] roms/edk2: Pass extra arguments to the build sc


From: Philippe Mathieu-Daudé
Subject: [Qemu-devel] [PATCH 3/5] roms/edk2: Pass extra arguments to the build script via EDK2_BUILD_OPTIONS
Date: Mon, 11 Mar 2019 01:30:50 +0100

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é <address@hidden>
---
 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 \
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]