1d54927efSWei Huang# 2d54927efSWei Huang# Copyright (c) 2018 Red Hat, Inc. and/or its affiliates 3d54927efSWei Huang# 4d54927efSWei Huang# This work is licensed under the terms of the GNU GPL, version 2 or later. 5d54927efSWei Huang# See the COPYING file in the top-level directory. 6d54927efSWei Huang# 7d54927efSWei Huang 85571dc82SThomas HuthTARGET_LIST = i386 aarch64 s390x 9d54927efSWei Huang 10d54927efSWei HuangSRC_PATH = ../.. 11fe730774SWei Huang 12*36bd9e3cSJuan Quintela.PHONY: help $(TARGET_LIST) 13*36bd9e3cSJuan Quintelahelp: 14*36bd9e3cSJuan Quintela @echo "Create migration guest includes. We generate a binary." 15*36bd9e3cSJuan Quintela @echo "And then convert that binary to an include file that can be" 16*36bd9e3cSJuan Quintela @echo "run in a guest." 17*36bd9e3cSJuan Quintela @echo "Possible operations are:" 18*36bd9e3cSJuan Quintela @echo 19*36bd9e3cSJuan Quintela @echo " $(MAKE) clean Remove all intermediate files" 20*36bd9e3cSJuan Quintela @echo " $(MAKE) target Generate for that target" 21*36bd9e3cSJuan Quintela @echo " $(MAKE) CROSS_PREFIX=... target" 22*36bd9e3cSJuan Quintela @echo " Cross-compile than target" 23*36bd9e3cSJuan Quintela @echo " Possible targets are: $(TARGET_LIST)" 24*36bd9e3cSJuan Quintela 25fe730774SWei Huangoverride define __note 26d54927efSWei Huang/* This file is automatically generated from the assembly file in 27d54927efSWei Huang * tests/migration/$@. Edit that file and then run "make all" 28d54927efSWei Huang * inside tests/migration to update, and then remember to send both 29d54927efSWei Huang * the header and the assembler differences in your patch submission. 30fe730774SWei Huang */ 31fe730774SWei Huangendef 32fe730774SWei Huangexport __note 33fe730774SWei Huang 34d54927efSWei Huang$(TARGET_LIST): 35*36bd9e3cSJuan Quintela $(MAKE) CROSS_PREFIX=$(CROSS_PREFIX) -C $@ 36fe730774SWei Huang 37fe730774SWei Huangclean: 38d54927efSWei Huang for target in $(TARGET_LIST); do \ 39d54927efSWei Huang $(MAKE) -C $$target clean; \ 40d54927efSWei Huang done 41