The following files in hyp/ contain only code shared by VHE/nVHE: vgic-v3-sr.c, aarch32.c, vgic-v2-cpuif-proxy.c, entry.S, fpsimd.S Compile them under both configurations. Deletions in image-vars.h reflect eliminated dependencies of nVHE code on the rest of the kernel. Signed-off-by: David Brazdil <dbrazdil@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200625131420.71444-14-dbrazdil@google.com
15 lines
388 B
Makefile
15 lines
388 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for Kernel-based Virtual Machine module, HYP part
|
|
#
|
|
|
|
incdir := $(srctree)/$(src)/include
|
|
subdir-asflags-y := -I$(incdir)
|
|
subdir-ccflags-y := -I$(incdir) \
|
|
-fno-stack-protector \
|
|
-DDISABLE_BRANCH_PROFILING \
|
|
$(DISABLE_STACKLEAK_PLUGIN)
|
|
|
|
obj-$(CONFIG_KVM) += vhe/ nvhe/
|
|
obj-$(CONFIG_KVM_INDIRECT_VECTORS) += smccc_wa.o
|