Makefile (d400c5b2025c9aeca76213d6bd4138ec39da5cef) Makefile (13aeb9b400c5d7c5e979fdbbf994c787487f7889)
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
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 entry.o fpsimd.o
16hyp-y := vgic-v3-sr.o timer-sr.o aarch32.o vgic-v2-cpuif-proxy.o entry.o \
17 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