summaryrefslogtreecommitdiff
path: root/arch/riscv/kvm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kvm/Makefile')
-rw-r--r--arch/riscv/kvm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kvm/Makefile b/arch/riscv/kvm/Makefile
index 019df9208bdd..278e97c06e0a 100644
--- a/arch/riscv/kvm/Makefile
+++ b/arch/riscv/kvm/Makefile
@@ -25,3 +25,4 @@ kvm-y += vcpu_sbi_base.o
kvm-y += vcpu_sbi_replace.o
kvm-y += vcpu_sbi_hsm.o
kvm-y += vcpu_timer.o
+kvm-$(CONFIG_RISCV_PMU_SBI) += vcpu_pmu.o vcpu_sbi_pmu.o