xref: /openbmc/linux/arch/arm64/kvm/hyp/Makefile (revision ba61bb17)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module, HYP part
4#
5
6ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING
7
8KVM=../../../../virt/kvm
9
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) += vgic-v2-cpuif-proxy.o
14obj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
15obj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
16obj-$(CONFIG_KVM_ARM_HOST) += entry.o
17obj-$(CONFIG_KVM_ARM_HOST) += switch.o
18obj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
19obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
20obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
21obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
22
23# KVM code is run at a different exception code with a different map, so
24# compiler instrumentation that inserts callbacks or checks into the code may
25# cause crashes. Just disable it.
26GCOV_PROFILE	:= n
27KASAN_SANITIZE	:= n
28UBSAN_SANITIZE	:= n
29KCOV_INSTRUMENT	:= n
30