Makefile (9aebdea494b5d2d5fe0ba54d71e9d6c5acfe76b4) Makefile (c04dd455eb311d2d289c9d81d080eaf11a06cebf)
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
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 := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o ../hyp-entry.o
9obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o
10obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
11 ../fpsimd.o ../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
12
13# KVM code is run at a different exception code with a different map, so
14# compiler instrumentation that inserts callbacks or checks into the code may
15# cause crashes. Just disable it.
16GCOV_PROFILE := n
17KASAN_SANITIZE := n
18UBSAN_SANITIZE := n
19KCOV_INSTRUMENT := n