c1fc48aad1
Enable LoongArch kvm config and add the makefile to support build kvm module. Reviewed-by: Bibo Mao <maobibo@loongson.cn> Tested-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
23 lines
386 B
Makefile
23 lines
386 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for LoongArch KVM support
|
|
#
|
|
|
|
ccflags-y += -I $(srctree)/$(src)
|
|
|
|
include $(srctree)/virt/kvm/Makefile.kvm
|
|
|
|
obj-$(CONFIG_KVM) += kvm.o
|
|
|
|
kvm-y += exit.o
|
|
kvm-y += interrupt.o
|
|
kvm-y += main.o
|
|
kvm-y += mmu.o
|
|
kvm-y += switch.o
|
|
kvm-y += timer.o
|
|
kvm-y += tlb.o
|
|
kvm-y += vcpu.o
|
|
kvm-y += vm.o
|
|
|
|
CFLAGS_exit.o += $(call cc-option,-Wno-override-init,)
|