Makefile 971 字节
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
KVM=../../../../virt/kvm

11
obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
12 13
obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o

14
obj-$(CONFIG_KVM_ARM_HOST) += vgic-v2-cpuif-proxy.o
15
obj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
16
obj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
M
Marc Zyngier 已提交
17
obj-$(CONFIG_KVM_ARM_HOST) += entry.o
18
obj-$(CONFIG_KVM_ARM_HOST) += switch.o
19
obj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
M
Marc Zyngier 已提交
20
obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
M
Marc Zyngier 已提交
21
obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
22
obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
23

24 25 26
# 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.
27 28 29
GCOV_PROFILE	:= n
KASAN_SANITIZE	:= n
UBSAN_SANITIZE	:= n
30
KCOV_INSTRUMENT	:= n