Skip to content

Commit a49b50a

Browse files
Zenghui YuMarc Zyngier
authored andcommitted
KVM: arm64: nvhe: Fix missing FORCE for hyp-reloc.S build rule
Add FORCE so that if_changed can detect the command line change. We'll otherwise see a compilation warning since commit e1f86d7 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk"). arch/arm64/kvm/hyp/nvhe/Makefile:58: FORCE prerequisite is missing Cc: David Brazdil <[email protected]> Cc: Masahiro Yamada <[email protected]> Signed-off-by: Zenghui Yu <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 6880fa6 commit a49b50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kvm/hyp/nvhe/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $(obj)/kvm_nvhe.tmp.o: $(obj)/hyp.lds $(addprefix $(obj)/,$(hyp-obj)) FORCE
5454
# runtime. Because the hypervisor is part of the kernel binary, relocations
5555
# produce a kernel VA. We enumerate relocations targeting hyp at build time
5656
# and convert the kernel VAs at those positions to hyp VAs.
57-
$(obj)/hyp-reloc.S: $(obj)/kvm_nvhe.tmp.o $(obj)/gen-hyprel
57+
$(obj)/hyp-reloc.S: $(obj)/kvm_nvhe.tmp.o $(obj)/gen-hyprel FORCE
5858
$(call if_changed,hyprel)
5959

6060
# 5) Compile hyp-reloc.S and link it into the existing partially linked object.

0 commit comments

Comments
 (0)