xref: /linux/tools/testing/selftests/kvm/Makefile (revision 9e676a024fa1fa2bd8150c2d2ba85478280353bc)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2cc68765dSAndrew Jonestop_srcdir = ../../../..
3baea2ce5SPaolo Bonziniinclude $(top_srcdir)/scripts/subarch.include
4baea2ce5SPaolo BonziniARCH            ?= $(SUBARCH)
566d69e08SShuah Khan
643fbd8cdSSean Christophersonifeq ($(ARCH),$(filter $(ARCH),arm64 s390 riscv x86 x86_64))
767730e6cSSean Christopherson# Top-level selftests allows ARCH=x86_64 :-(
867730e6cSSean Christophersonifeq ($(ARCH),x86_64)
9*9af04539SSean 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