2 # Makefile for Kernel-based Virtual Machine module, HYP part
5 ccflags-y
+= -fno-stack-protector
7 KVM
=..
/..
/..
/..
/virt
/kvm
9 obj-
$(CONFIG_KVM_ARM_HOST
) += $(KVM
)/arm
/hyp
/vgic-v2-sr.o
10 obj-
$(CONFIG_KVM_ARM_HOST
) += $(KVM
)/arm
/hyp
/vgic-v3-sr.o
11 obj-
$(CONFIG_KVM_ARM_HOST
) += $(KVM
)/arm
/hyp
/timer-sr.o
13 obj-
$(CONFIG_KVM_ARM_HOST
) += sysreg-sr.o
14 obj-
$(CONFIG_KVM_ARM_HOST
) += debug-sr.o
15 obj-
$(CONFIG_KVM_ARM_HOST
) += entry.o
16 obj-
$(CONFIG_KVM_ARM_HOST
) += switch.o
17 obj-
$(CONFIG_KVM_ARM_HOST
) += fpsimd.o
18 obj-
$(CONFIG_KVM_ARM_HOST
) += tlb.o
19 obj-
$(CONFIG_KVM_ARM_HOST
) += hyp-entry.o
20 obj-
$(CONFIG_KVM_ARM_HOST
) += s2-setup.o
22 # KVM code is run at a different exception code with a different map, so
23 # compiler instrumentation that inserts callbacks or checks into the code may
24 # cause crashes. Just disable it.