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