xref: /linux/arch/loongarch/kvm/Makefile (revision 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94)
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
24kvm-y += irqfd.o
25
26CFLAGS_exit.o	+= $(call cc-option,-Wno-override-init,)
27