xref: /openbmc/linux/arch/arm64/kvm/hyp/Makefile (revision 52cdded0)
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) += vhe/ nvhe/
14obj-$(CONFIG_KVM_INDIRECT_VECTORS) += smccc_wa.o
15