Makefile (f8bade6c9a6213c2c5ba6e5bf32415ecab6e41e5) Makefile (7b4a7b5e6fefd15f708f959dd43e188444e252ec)
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
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
12obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o \
13 hyp-main.o hyp-smp.o psci-relay.o
14obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
15 ../fpsimd.o ../hyp-entry.o ../exception.o
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
17obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
18 ../fpsimd.o ../hyp-entry.o ../exception.o
19obj-y += $(lib-objs)
16
17##
18## Build rules for compiling nVHE hyp code
19## Output of this folder is `kvm_nvhe.o`, a partially linked object
20## file containing all nVHE hyp code and data.
21##
22
23hyp-obj := $(patsubst %.o,%.nvhe.o,$(obj-y))

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

--- 69 unchanged lines hidden ---