Files
qemu/tests/qtest/migration/Makefile
Bibo Mao 94a75309f9 tests/qtest/migration: Add migration test on loongarch
Add migration qtest on loongarch64 system, the test passes to run with
the following result:
  qemu:qtest+qtest-loongarch64/qtest-loongarch64/migration-test OK 15.94s 9 subtests passed

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Acked-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260611084312.70042-1-maobibo@loongson.cn
Signed-off-by: Peter Xu <peterx@redhat.com>
2026-06-22 17:08:48 -04:00

44 lines
1.3 KiB
Makefile

#
# Copyright (c) 2018 Red Hat, Inc. and/or its affiliates
#
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
#
TARGET_LIST = i386 aarch64 s390x ppc64 loongarch64
SRC_PATH = ../../../..
.PHONY: help $(TARGET_LIST)
help:
@echo "Create migration guest includes. We generate a binary."
@echo "And then convert that binary to an include file that can be"
@echo "run in a guest."
@echo "Possible operations are:"
@echo
@echo " $(MAKE) clean Remove all intermediate files"
@echo " $(MAKE) target Generate for that target"
@echo " $(MAKE) CROSS_PREFIX=... target"
@echo " Cross-compile than target"
@echo " Possible targets are: $(TARGET_LIST)"
override define __note
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* This file is automatically generated from the assembly file in
* tests/qtest/migration/$@. Edit that file and then run "make"
* inside tests/qtest/migration to update, and then remember to send both
* the header and the assembler differences in your patch submission.
*/
endef
export __note
$(TARGET_LIST):
$(MAKE) SRC_PATH=$(SRC_PATH) CROSS_PREFIX=$(CROSS_PREFIX) -C $@
clean:
for target in $(TARGET_LIST); do \
$(MAKE) -C $$target clean; \
done