xref: /linux/tools/testing/selftests/kvm/Makefile (revision 43db1111073049220381944af4a3b8a5400eda71)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2cc68765dSAndrew Jonestop_srcdir = ../../../..
3baea2ce5SPaolo Bonziniinclude $(top_srcdir)/scripts/subarch.include
4baea2ce5SPaolo BonziniARCH            ?= $(SUBARCH)
566d69e08SShuah Khan
6*a867688cSBibo Maoifeq ($(ARCH),$(filter $(ARCH),arm64 s390 riscv x86 x86_64 loongarch))
767730e6cSSean Christopherson# Top-level selftests allows ARCH=x86_64 :-(
867730e6cSSean Christophersonifeq ($(ARCH),x86_64)
99af04539SSean Christopherson	ARCH := x86
103e06cdf1SAnup Patelendif
1143fbd8cdSSean Christophersoninclude Makefile.kvm
12b80db73dSVitaly Kuznetsovelse
1343fbd8cdSSean Christopherson# Empty targets for unsupported architectures
1443fbd8cdSSean Christophersonall:
1543fbd8cdSSean Christophersonclean:
16b80db73dSVitaly Kuznetsovendif
17