xref: /linux/arch/loongarch/kvm/Makefile (revision e785dfacf7e7fe94370fa0e8e3ff1bc8fe179831)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for LoongArch KVM support
4#
5
6ccflags-y += -I $(src)
7
8include $(srctree)/virt/kvm/Makefile.kvm
9
10obj-$(CONFIG_KVM) += kvm.o
11
12kvm-y += exit.o
13kvm-y += interrupt.o
14kvm-y += main.o
15kvm-y += mmu.o
16kvm-y += switch.o
17kvm-y += timer.o
18kvm-y += tlb.o
19kvm-y += vcpu.o
20kvm-y += vm.o
21kvm-y += intc/ipi.o
22kvm-y += intc/eiointc.o
23kvm-y += intc/pch_pic.o
24
25CFLAGS_exit.o	+= $(call cc-option,-Wno-override-init,)
26