1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # !! 2 # Makefile for KVM support for MIPS 3 # Makefile for LoongArch KVM support << 4 # 3 # 5 4 6 ccflags-y += -I $(src) !! 5 common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o eventfd.o) 7 6 8 include $(srctree)/virt/kvm/Makefile.kvm !! 7 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm 9 8 10 obj-$(CONFIG_KVM) += kvm.o !! 9 common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o 11 10 12 kvm-y += exit.o !! 11 kvm-objs := $(common-objs-y) mips.o emulate.o entry.o \ 13 kvm-y += interrupt.o !! 12 interrupt.o stats.o \ 14 kvm-y += main.o !! 13 fpu.o 15 kvm-y += mmu.o !! 14 kvm-objs += hypcall.o 16 kvm-y += switch.o !! 15 kvm-objs += mmu.o 17 kvm-y += timer.o !! 16 ifdef CONFIG_CPU_LOONGSON64 18 kvm-y += tlb.o !! 17 kvm-objs += loongson_ipi.o 19 kvm-y += vcpu.o !! 18 endif 20 kvm-y += vm.o << 21 19 22 CFLAGS_exit.o += $(call cc-option,-Wno-overr !! 20 kvm-objs += vz.o >> 21 obj-$(CONFIG_KVM) += kvm.o >> 22 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.