Makefile (9aebdea494b5d2d5fe0ba54d71e9d6c5acfe76b4) Makefile (c04dd455eb311d2d289c9d81d080eaf11a06cebf)
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__
7ccflags-y := -D__KVM_NVHE_HYPERVISOR__
8
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__
7ccflags-y := -D__KVM_NVHE_HYPERVISOR__
8
9obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o \
10 ../hyp-entry.o
9obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o
10obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
11 ../fpsimd.o ../hyp-entry.o
11
12obj-y := $(patsubst %.o,%.hyp.o,$(obj-y))
13extra-y := $(patsubst %.hyp.o,%.hyp.tmp.o,$(obj-y))
14
15$(obj)/%.hyp.tmp.o: $(src)/%.c FORCE
16 $(call if_changed_rule,cc_o_c)
17$(obj)/%.hyp.tmp.o: $(src)/%.S FORCE
18 $(call if_changed_rule,as_o_S)

--- 17 unchanged lines hidden ---
12
13obj-y := $(patsubst %.o,%.hyp.o,$(obj-y))
14extra-y := $(patsubst %.hyp.o,%.hyp.tmp.o,$(obj-y))
15
16$(obj)/%.hyp.tmp.o: $(src)/%.c FORCE
17 $(call if_changed_rule,cc_o_c)
18$(obj)/%.hyp.tmp.o: $(src)/%.S FORCE
19 $(call if_changed_rule,as_o_S)

--- 17 unchanged lines hidden ---