summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/vdso64
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-12-17 20:05:43 +0100
committerHelge Deller <deller@gmx.de>2022-12-18 22:18:49 +0100
commit9086e6017957c5cd6ea28d94b70e0d513d6b7800 (patch)
treef285dcbdb66c99dd715176ba2c88840e2229a2ba /arch/parisc/kernel/vdso64
parent4add395bc77f19e2e5cedbef4368ffdebc89b165 (diff)
parisc: Add missing FORCE prerequisites in Makefile
Fix those make warnings: arch/parisc/kernel/vdso32/Makefile:30: FORCE prerequisite is missing arch/parisc/kernel/vdso64/Makefile:30: FORCE prerequisite is missing Add the missing FORCE prerequisites for all build targets identified by "make help". Fixes: e1f86d7b4b2a5213 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk") Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> # 5.18+
Diffstat (limited to 'arch/parisc/kernel/vdso64')
-rw-r--r--arch/parisc/kernel/vdso64/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/vdso64/Makefile b/arch/parisc/kernel/vdso64/Makefile
index a30f5ec5eb4b..f3d6045793f4 100644
--- a/arch/parisc/kernel/vdso64/Makefile
+++ b/arch/parisc/kernel/vdso64/Makefile
@@ -26,7 +26,7 @@ $(obj)/vdso64_wrapper.o : $(obj)/vdso64.so FORCE
# Force dependency (incbin is bad)
# link rule for the .so file, .lds has to be first
-$(obj)/vdso64.so: $(src)/vdso64.lds $(obj-vdso64) $(VDSO_LIBGCC)
+$(obj)/vdso64.so: $(src)/vdso64.lds $(obj-vdso64) $(VDSO_LIBGCC) FORCE
$(call if_changed,vdso64ld)
# assembly rules for the .S files
@@ -35,7 +35,7 @@ $(obj-vdso64): %.o: %.S FORCE
# actual build commands
quiet_cmd_vdso64ld = VDSO64L $@
- cmd_vdso64ld = $(CC) $(c_flags) -Wl,-T $^ -o $@
+ cmd_vdso64ld = $(CC) $(c_flags) -Wl,-T $(filter-out FORCE, $^) -o $@
quiet_cmd_vdso64as = VDSO64A $@
cmd_vdso64as = $(CC) $(a_flags) -c -o $@ $<