Sanjay Lal | 03a0331 | 2012-11-21 18:34:06 -0800 | [diff] [blame] | 1 | # Makefile for KVM support for MIPS |
| 2 | # |
| 3 | |
James Hogan | 539cb89fb | 2015-03-05 11:43:36 +0000 | [diff] [blame] | 4 | common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o) |
Sanjay Lal | 03a0331 | 2012-11-21 18:34:06 -0800 | [diff] [blame] | 5 | |
| 6 | EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm |
| 7 | |
James Hogan | 539cb89fb | 2015-03-05 11:43:36 +0000 | [diff] [blame] | 8 | common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o |
| 9 | |
James Hogan | 90e9311 | 2016-06-23 17:34:39 +0100 | [diff] [blame] | 10 | kvm-objs := $(common-objs-y) mips.o emulate.o entry.o \ |
Deng-Cheng Zhu | d7d5b05 | 2014-06-26 12:11:38 -0700 | [diff] [blame] | 11 | interrupt.o stats.o commpage.o \ |
James Hogan | 98e91b8 | 2014-11-18 14:09:12 +0000 | [diff] [blame] | 12 | dyntrans.o trap_emul.o fpu.o |
James Hogan | 403015b | 2016-06-09 14:19:10 +0100 | [diff] [blame] | 13 | kvm-objs += mmu.o |
Sanjay Lal | 03a0331 | 2012-11-21 18:34:06 -0800 | [diff] [blame] | 14 | |
| 15 | obj-$(CONFIG_KVM) += kvm.o |
Deng-Cheng Zhu | d7d5b05 | 2014-06-26 12:11:38 -0700 | [diff] [blame] | 16 | obj-y += callback.o tlb.o |