xref: /linux/tools/testing/selftests/kvm/Makefile (revision 5ace19bd8395e8a98ff0bca0fd20ae3fac3e1d6f)
1# SPDX-License-Identifier: GPL-2.0-only
2top_srcdir = ../../../..
3include $(top_srcdir)/scripts/subarch.include
4ARCH            ?= $(SUBARCH)
5
6ifeq ($(ARCH),$(filter $(ARCH),arm64 s390 riscv x86 x86_64))
7# Top-level selftests allows ARCH=x86_64 :-(
8ifeq ($(ARCH),x86_64)
9	ARCH := x86
10endif
11include Makefile.kvm
12else
13# Empty targets for unsupported architectures
14all:
15clean:
16endif
17