Makefile 782 B

1234567891011121314151617181920212223242526
  1. #
  2. # Makefile for Kernel-based Virtual Machine module, HYP part
  3. #
  4. ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING
  5. KVM=../../../../virt/kvm
  6. CFLAGS_ARMV7VE :=$(call cc-option, -march=armv7ve)
  7. obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v2-sr.o
  8. obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
  9. obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
  10. obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
  11. obj-$(CONFIG_KVM_ARM_HOST) += cp15-sr.o
  12. obj-$(CONFIG_KVM_ARM_HOST) += vfp.o
  13. obj-$(CONFIG_KVM_ARM_HOST) += banked-sr.o
  14. CFLAGS_banked-sr.o += $(CFLAGS_ARMV7VE)
  15. obj-$(CONFIG_KVM_ARM_HOST) += entry.o
  16. obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
  17. obj-$(CONFIG_KVM_ARM_HOST) += switch.o
  18. CFLAGS_switch.o += $(CFLAGS_ARMV7VE)
  19. obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o