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*43fbd8cdSSean Christophersonifeq ($(ARCH),$(filter $(ARCH),arm64 s390 riscv x86 x86_64))
76a5db83aSSean Christophersonifeq ($(ARCH),x86)
86a5db83aSSean Christopherson	ARCH_DIR := x86_64
96a5db83aSSean Christophersonelse ifeq ($(ARCH),arm64)
106a5db83aSSean Christopherson	ARCH_DIR := aarch64
116a5db83aSSean Christophersonelse ifeq ($(ARCH),s390)
126a5db83aSSean Christopherson	ARCH_DIR := s390x
136a5db83aSSean Christophersonelse
146a5db83aSSean Christopherson	ARCH_DIR := $(ARCH)
153e06cdf1SAnup Patelendif
1666d69e08SShuah Khan
17*43fbd8cdSSean Christophersoninclude Makefile.kvm
18b80db73dSVitaly Kuznetsovelse
19*43fbd8cdSSean Christopherson# Empty targets for unsupported architectures
20*43fbd8cdSSean Christophersonall:
21*43fbd8cdSSean Christophersonclean:
22b80db73dSVitaly Kuznetsovendif
23