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)) 7# Top-level selftests allows ARCH=x86_64 :-( 8ifeq ($(ARCH),x86_64) 9 ARCH_DIR := x86 10else 11 ARCH_DIR := $(ARCH) 12endif 13include Makefile.kvm 14else 15# Empty targets for unsupported architectures 16all: 17clean: 18endif 19