xref: /openbmc/linux/arch/arm64/kvm/hyp/Makefile (revision 9d64fc08)
1#
2# Makefile for Kernel-based Virtual Machine module, HYP part
3#
4
5ccflags-y += -fno-stack-protector
6
7KVM=../../../../virt/kvm
8
9obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v2-sr.o
10obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
11obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
12
13obj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
14obj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
15obj-$(CONFIG_KVM_ARM_HOST) += entry.o
16obj-$(CONFIG_KVM_ARM_HOST) += switch.o
17obj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
18obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
19obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
20obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
21
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.
25GCOV_PROFILE	:= n
26KASAN_SANITIZE	:= n
27UBSAN_SANITIZE	:= n
28KCOV_INSTRUMENT	:= n
29