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