1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for RISC-V KVM support 4# 5 6ccflags-y += -I $(srctree)/$(src) 7 8include $(srctree)/virt/kvm/Makefile.kvm 9 10obj-$(CONFIG_KVM) += kvm.o 11 12kvm-y += main.o 13kvm-y += vm.o 14kvm-y += vmid.o 15kvm-y += tlb.o 16kvm-y += mmu.o 17kvm-y += vcpu.o 18kvm-y += vcpu_exit.o 19kvm-y += vcpu_fp.o 20kvm-y += vcpu_vector.o 21kvm-y += vcpu_insn.o 22kvm-y += vcpu_onereg.o 23kvm-y += vcpu_switch.o 24kvm-y += vcpu_sbi.o 25kvm-$(CONFIG_RISCV_SBI_V01) += vcpu_sbi_v01.o 26kvm-y += vcpu_sbi_base.o 27kvm-y += vcpu_sbi_replace.o 28kvm-y += vcpu_sbi_hsm.o 29kvm-y += vcpu_timer.o 30kvm-$(CONFIG_RISCV_PMU_SBI) += vcpu_pmu.o vcpu_sbi_pmu.o 31kvm-y += aia.o 32kvm-y += aia_device.o 33kvm-y += aia_aplic.o 34kvm-y += aia_imsic.o 35