2 # Makefile for Kernel-based Virtual Machine module
5 subdir-ccflags-
$(CONFIG_PPC_WERROR
) := -Werror
7 EXTRA_CFLAGS
+= -Ivirt
/kvm
-Iarch
/powerpc
/kvm
9 common-objs-y
= $(addprefix ..
/..
/..
/virt
/kvm
/, kvm_main.o coalesced_mmio.o
)
11 CFLAGS_44x_tlb.o
:= -I.
12 CFLAGS_e500_tlb.o
:= -I.
13 CFLAGS_emulate.o
:= -I.
15 kvm-objs
:= $(common-objs-y
) powerpc.o emulate.o
16 obj-
$(CONFIG_KVM_EXIT_TIMING
) += timing.o
17 obj-
$(CONFIG_KVM
) += kvm.o
19 AFLAGS_booke_interrupts.o
:= -I
$(obj
)
28 obj-
$(CONFIG_KVM_440
) += kvm-440.o
37 obj-
$(CONFIG_KVM_E500
) += kvm-e500.o