xref: /linux/arch/loongarch/kvm/Makefile (revision af8e51644a70f612974a6e767fa7d896d3c23f88)
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
21
22CFLAGS_exit.o	+= $(call cc-option,-Wno-override-init,)
23