Makefile 814 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3 4 5
#
# Makefile for Kernel-based Virtual Machine module, HYP part
#

6 7
ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING \
		$(DISABLE_STACKLEAK_PLUGIN)
8

9 10 11 12 13 14 15 16 17 18 19
obj-$(CONFIG_KVM) += vgic-v3-sr.o
obj-$(CONFIG_KVM) += timer-sr.o
obj-$(CONFIG_KVM) += aarch32.o
obj-$(CONFIG_KVM) += vgic-v2-cpuif-proxy.o
obj-$(CONFIG_KVM) += sysreg-sr.o
obj-$(CONFIG_KVM) += debug-sr.o
obj-$(CONFIG_KVM) += entry.o
obj-$(CONFIG_KVM) += switch.o
obj-$(CONFIG_KVM) += fpsimd.o
obj-$(CONFIG_KVM) += tlb.o
obj-$(CONFIG_KVM) += hyp-entry.o
20

21 22 23
# KVM code is run at a different exception code with a different map, so
# compiler instrumentation that inserts callbacks or checks into the code may
# cause crashes. Just disable it.
24 25 26
GCOV_PROFILE	:= n
KASAN_SANITIZE	:= n
UBSAN_SANITIZE	:= n
27
KCOV_INSTRUMENT	:= n