summaryrefslogtreecommitdiffstats
path: root/tests/vm
diff options
context:
space:
mode:
authorPaolo Bonzini2020-08-06 14:00:50 +0200
committerPaolo Bonzini2020-08-21 12:18:35 +0200
commitf5c730698a33ced107d6de26eb8c1b34486d8c2d (patch)
tree79bd2bf7e369551b89ca1179a1b37c13a497a66d /tests/vm
parentbuild-sys hack: ensure target directory is there (diff)
downloadqemu-f5c730698a33ced107d6de26eb8c1b34486d8c2d.tar.gz
qemu-f5c730698a33ced107d6de26eb8c1b34486d8c2d.tar.xz
qemu-f5c730698a33ced107d6de26eb8c1b34486d8c2d.zip
tests/vm: do not pollute configure with --efi-aarch64
Just make EFI_AARCH64 a variable in the makefile that defaults to the efi firmware included with QEMU. It can be redefined on the "make" command line. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/vm')
-rw-r--r--tests/vm/Makefile.include2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index f21948c46a..a599d1994d 100644
--- a/tests/vm/Makefile.include
+++ b/tests/vm/Makefile.include
@@ -2,6 +2,8 @@
.PHONY: vm-build-all vm-clean-all
+EFI_AARCH64 = $(wildcard $(BUILD_DIR)/pc-bios/edk2-aarch64-code.fd)
+
IMAGES := freebsd netbsd openbsd centos fedora
ifneq ($(GENISOIMAGE),)
IMAGES += ubuntu.i386 centos