Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
27 lines
817 B
Makefile
27 lines
817 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for Kernel-based Virtual Machine module, HYP part
|
|
#
|
|
|
|
ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING
|
|
|
|
KVM=../../../../virt/kvm
|
|
|
|
CFLAGS_ARMV7VE :=$(call cc-option, -march=armv7ve)
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v2-sr.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += cp15-sr.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += vfp.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += banked-sr.o
|
|
CFLAGS_banked-sr.o += $(CFLAGS_ARMV7VE)
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += entry.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += switch.o
|
|
CFLAGS_switch.o += $(CFLAGS_ARMV7VE)
|
|
obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
|