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