xref: /linux/tools/testing/selftests/kvm/Makefile (revision 43db1111073049220381944af4a3b8a5400eda71)
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 loongarch))
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