1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 !! 2 # Makefile for KVM support for MIPS 3 ccflags-y += -I $(srctree)/arch/x86/kvm !! 3 # 4 ccflags-$(CONFIG_KVM_WERROR) += -Werror << 5 4 6 include $(srctree)/virt/kvm/Makefile.kvm 5 include $(srctree)/virt/kvm/Makefile.kvm 7 6 8 kvm-y += x86.o emulate.o i82 !! 7 ccflags-y += -Ivirt/kvm -Iarch/mips/kvm 9 i8254.o ioapic.o ir << 10 debugfs.o mmu/mmu.o << 11 mmu/spte.o << 12 << 13 kvm-$(CONFIG_X86_64) += mmu/tdp_iter.o mmu/tdp << 14 kvm-$(CONFIG_KVM_HYPERV) += hyperv.o << 15 kvm-$(CONFIG_KVM_XEN) += xen.o << 16 kvm-$(CONFIG_KVM_SMM) += smm.o << 17 << 18 kvm-intel-y += vmx/vmx.o vmx/vment << 19 vmx/nested.o vmx/po << 20 << 21 kvm-intel-$(CONFIG_X86_SGX_KVM) += vmx/sgx.o << 22 kvm-intel-$(CONFIG_KVM_HYPERV) += vmx/hyperv. << 23 << 24 kvm-amd-y += svm/svm.o svm/vment << 25 << 26 kvm-amd-$(CONFIG_KVM_AMD_SEV) += svm/sev.o << 27 kvm-amd-$(CONFIG_KVM_HYPERV) += svm/hyperv. << 28 << 29 ifdef CONFIG_HYPERV << 30 kvm-y += kvm_onhyperv.o << 31 kvm-intel-y += vmx/vmx_onhyperv.o << 32 kvm-amd-y += svm/svm_onhyperv.o << 33 endif << 34 << 35 obj-$(CONFIG_KVM_X86) += kvm.o << 36 obj-$(CONFIG_KVM_INTEL) += kvm-intel.o << 37 obj-$(CONFIG_KVM_AMD) += kvm-amd.o << 38 << 39 AFLAGS_svm/vmenter.o := -iquote $(obj) << 40 $(obj)/svm/vmenter.o: $(obj)/kvm-asm-offsets.h << 41 << 42 AFLAGS_vmx/vmenter.o := -iquote $(obj) << 43 $(obj)/vmx/vmenter.o: $(obj)/kvm-asm-offsets.h << 44 8 45 $(obj)/kvm-asm-offsets.h: $(obj)/kvm-asm-offse !! 9 kvm-$(CONFIG_CPU_HAS_MSA) += msa.o 46 $(call filechk,offsets,__KVM_ASM_OFFSE << 47 10 48 targets += kvm-asm-offsets.s !! 11 kvm-y += mips.o emulate.o entry.o \ 49 clean-files += kvm-asm-offsets.h !! 12 interrupt.o stats.o \ >> 13 fpu.o >> 14 kvm-y += hypcall.o >> 15 kvm-y += mmu.o >> 16 kvm-$(CONFIG_CPU_LOONGSON64) += loongson_ipi.o >> 17 >> 18 kvm-y += vz.o >> 19 obj-$(CONFIG_KVM) += kvm.o >> 20 obj-y += 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.