Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 1 | # |
| 2 | # Makefile for Kernel-based Virtual Machine module |
| 3 | # |
| 4 | |
| 5 | plus_virt := $(call as-instr,.arch_extension virt,+virt) |
| 6 | ifeq ($(plus_virt),+virt) |
| 7 | plus_virt_def := -DREQUIRES_VIRT=1 |
| 8 | endif |
| 9 | |
| 10 | ccflags-y += -Ivirt/kvm -Iarch/arm/kvm |
| 11 | CFLAGS_arm.o := -I. $(plus_virt_def) |
| 12 | CFLAGS_mmu.o := -I. |
| 13 | |
| 14 | AFLAGS_init.o := -Wa,-march=armv7-a$(plus_virt) |
| 15 | AFLAGS_interrupts.o := -Wa,-march=armv7-a$(plus_virt) |
| 16 | |
| 17 | kvm-arm-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o) |
| 18 | |
| 19 | obj-y += kvm-arm.o init.o interrupts.o |
| 20 | obj-y += arm.o guest.o mmu.o emulate.o reset.o |
Marc Zyngier | aa024c2 | 2013-01-20 18:28:13 -0500 | [diff] [blame] | 21 | obj-y += coproc.o coproc_a15.o mmio.o psci.o |
Marc Zyngier | 1a89dd9 | 2013-01-21 19:36:12 -0500 | [diff] [blame] | 22 | obj-$(CONFIG_KVM_ARM_VGIC) += vgic.o |
Marc Zyngier | 967f842 | 2013-01-23 13:21:59 -0500 | [diff] [blame] | 23 | obj-$(CONFIG_KVM_ARM_TIMER) += arch_timer.o |