summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/Makefile
blob: 20af35a91d6f093047fc0cd98c2463e2bd6c46f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-License-Identifier: GPL-2.0-only
top_srcdir = ../../../..
include $(top_srcdir)/scripts/subarch.include
ARCH            ?= $(SUBARCH)

ifeq ($(ARCH),$(filter $(ARCH),arm64 s390 riscv x86 x86_64))
# Top-level selftests allows ARCH=x86_64 :-(
ifeq ($(ARCH),x86_64)
	ARCH := x86
endif
include Makefile.kvm
else
# Empty targets for unsupported architectures
all:
clean:
endif