xref: /linux/tools/testing/selftests/kvm/Makefile (revision 24f171c7e145f43b9f187578e89b0982ce87e54c)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2cc68765dSAndrew Jonestop_srcdir = ../../../..
3baea2ce5SPaolo Bonziniinclude $(top_srcdir)/scripts/subarch.include
4baea2ce5SPaolo BonziniARCH            ?= $(SUBARCH)
566d69e08SShuah Khan
6a867688cSBibo 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)
9*17e5a9b7SSean Christopherson	override ARCH := x86
103e06cdf1SAnup Patelendif
1143fbd8cdSSean Christophersoninclude Makefile.kvm
12b80db73dSVitaly Kuznetsovelse
1343fbd8cdSSean Christopherson# Empty targets for unsupported architectures
1443fbd8cdSSean Christophersonall:
1543fbd8cdSSean Christophersonclean:
16b80db73dSVitaly Kuznetsovendif
17