Makefile 544 B

123456789101112131415161718192021222324
  1. # SPDX-License-Identifier: GPL-2.0
  2. # Makefile for KVM support for MIPS
  3. #
  4. common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
  5. EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm
  6. common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o
  7. kvm-objs := $(common-objs-y) mips.o emulate.o entry.o \
  8. interrupt.o stats.o commpage.o \
  9. fpu.o
  10. kvm-objs += hypcall.o
  11. kvm-objs += mmu.o
  12. ifdef CONFIG_KVM_MIPS_VZ
  13. kvm-objs += vz.o
  14. else
  15. kvm-objs += dyntrans.o
  16. kvm-objs += trap_emul.o
  17. endif
  18. obj-$(CONFIG_KVM) += kvm.o
  19. obj-y += callback.o tlb.o