xref: /linux/arch/loongarch/kvm/Makefile (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for LoongArch 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 += 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
21
22CFLAGS_exit.o	+= $(call cc-option,-Wno-override-init,)
23