Makefile (e03fa29164ec1db1a81dc0168d0017a9e0366c7c) Makefile (09cf57eba304246141367b95c89801fd2047ac96)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module, HYP part
4#
5
6incdir := $(srctree)/$(src)/include
7subdir-asflags-y := -I$(incdir)
8subdir-ccflags-y := -I$(incdir) \
9 -fno-stack-protector \
10 -DDISABLE_BRANCH_PROFILING \
11 $(DISABLE_STACKLEAK_PLUGIN)
12
13obj-$(CONFIG_KVM) += hyp.o vhe/ nvhe/
14obj-$(CONFIG_KVM_INDIRECT_VECTORS) += smccc_wa.o
15
16hyp-y := vgic-v3-sr.o timer-sr.o aarch32.o vgic-v2-cpuif-proxy.o sysreg-sr.o \
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module, HYP part
4#
5
6incdir := $(srctree)/$(src)/include
7subdir-asflags-y := -I$(incdir)
8subdir-ccflags-y := -I$(incdir) \
9 -fno-stack-protector \
10 -DDISABLE_BRANCH_PROFILING \
11 $(DISABLE_STACKLEAK_PLUGIN)
12
13obj-$(CONFIG_KVM) += hyp.o vhe/ nvhe/
14obj-$(CONFIG_KVM_INDIRECT_VECTORS) += smccc_wa.o
15
16hyp-y := vgic-v3-sr.o timer-sr.o aarch32.o vgic-v2-cpuif-proxy.o sysreg-sr.o \
17 debug-sr.o entry.o switch.o fpsimd.o
17 debug-sr.o entry.o fpsimd.o
18
19# KVM code is run at a different exception code with a different map, so
20# compiler instrumentation that inserts callbacks or checks into the code may
21# cause crashes. Just disable it.
22GCOV_PROFILE := n
23KASAN_SANITIZE := n
24UBSAN_SANITIZE := n
25KCOV_INSTRUMENT := n
18
19# KVM code is run at a different exception code with a different map, so
20# compiler instrumentation that inserts callbacks or checks into the code may
21# cause crashes. Just disable it.
22GCOV_PROFILE := n
23KASAN_SANITIZE := n
24UBSAN_SANITIZE := n
25KCOV_INSTRUMENT := n