Makefile (d460df12926825a3926da91f054f9f11f88bb33e) Makefile (f320bc742bc23c1d43567712fe2814bf04b19ebc)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module, HYP/nVHE part
4#
5
6asflags-y := -D__KVM_NVHE_HYPERVISOR__ -D__DISABLE_EXPORTS
7ccflags-y := -D__KVM_NVHE_HYPERVISOR__ -D__DISABLE_EXPORTS
8
9hostprogs := gen-hyprel
10HOST_EXTRACFLAGS += -I$(objtree)/include
11
12lib-objs := clear_page.o copy_page.o memcpy.o memset.o
13lib-objs := $(addprefix ../../../lib/, $(lib-objs))
14
15obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o \
16 hyp-main.o hyp-smp.o psci-relay.o early_alloc.o stub.o page_alloc.o \
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module, HYP/nVHE part
4#
5
6asflags-y := -D__KVM_NVHE_HYPERVISOR__ -D__DISABLE_EXPORTS
7ccflags-y := -D__KVM_NVHE_HYPERVISOR__ -D__DISABLE_EXPORTS
8
9hostprogs := gen-hyprel
10HOST_EXTRACFLAGS += -I$(objtree)/include
11
12lib-objs := clear_page.o copy_page.o memcpy.o memset.o
13lib-objs := $(addprefix ../../../lib/, $(lib-objs))
14
15obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o \
16 hyp-main.o hyp-smp.o psci-relay.o early_alloc.o stub.o page_alloc.o \
17 cache.o
17 cache.o setup.o mm.o
18obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
18obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
19 ../fpsimd.o ../hyp-entry.o ../exception.o
19 ../fpsimd.o ../hyp-entry.o ../exception.o ../pgtable.o
20obj-y += $(lib-objs)
21
22##
23## Build rules for compiling nVHE hyp code
24## Output of this folder is `kvm_nvhe.o`, a partially linked object
25## file containing all nVHE hyp code and data.
26##
27

--- 70 unchanged lines hidden ---
20obj-y += $(lib-objs)
21
22##
23## Build rules for compiling nVHE hyp code
24## Output of this folder is `kvm_nvhe.o`, a partially linked object
25## file containing all nVHE hyp code and data.
26##
27

--- 70 unchanged lines hidden ---