xref: /openbmc/linux/arch/arm64/kvm/hyp/vhe/Makefile (revision b877e984)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module, HYP/nVHE part
4#
5
6asflags-y := -D__KVM_VHE_HYPERVISOR__
7ccflags-y := -D__KVM_VHE_HYPERVISOR__
8
9obj-y := ../hyp-entry.o
10
11# KVM code is run at a different exception code with a different map, so
12# compiler instrumentation that inserts callbacks or checks into the code may
13# cause crashes. Just disable it.
14GCOV_PROFILE	:= n
15KASAN_SANITIZE	:= n
16UBSAN_SANITIZE	:= n
17KCOV_INSTRUMENT	:= n
18