1 # SPDX-License-Identifier: GPL-2.0 !! 1 # Makefile for KVM support for MIPS 2 # << 3 # Makefile for LoongArch KVM support << 4 # 2 # 5 3 6 ccflags-y += -I $(src) !! 4 common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o) 7 5 8 include $(srctree)/virt/kvm/Makefile.kvm !! 6 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm 9 7 10 obj-$(CONFIG_KVM) += kvm.o !! 8 common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o 11 9 12 kvm-y += exit.o !! 10 kvm-objs := $(common-objs-y) mips.o emulate.o entry.o \ 13 kvm-y += interrupt.o !! 11 interrupt.o stats.o commpage.o \ 14 kvm-y += main.o !! 12 fpu.o 15 kvm-y += mmu.o !! 13 kvm-objs += hypcall.o 16 kvm-y += switch.o !! 14 kvm-objs += mmu.o 17 kvm-y += timer.o << 18 kvm-y += tlb.o << 19 kvm-y += vcpu.o << 20 kvm-y += vm.o << 21 15 22 CFLAGS_exit.o += $(call cc-option,-Wno-overr !! 16 ifdef CONFIG_KVM_MIPS_VZ >> 17 kvm-objs += vz.o >> 18 else >> 19 kvm-objs += dyntrans.o >> 20 kvm-objs += trap_emul.o >> 21 endif >> 22 obj-$(CONFIG_KVM) += kvm.o >> 23 obj-y += callback.o tlb.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.