summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-08-19 04:22:51 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-09-03 02:17:19 +0300
commit55a6d00ed0c1b4d20d7966d00fda6848d776658d (patch)
tree43e7bd9b8c5807a5f3ed5d376d160b4ea1001eb3
parent850ded46c64299f04d15e39caaba21963fb966f8 (diff)
downloadlinux-55a6d00ed0c1b4d20d7966d00fda6848d776658d.tar.xz
x86/build/vdso: fix missing FORCE for *.so build rule
Add FORCE so that if_changed can detect the command line change. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rw-r--r--arch/x86/entry/vdso/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile
index 05c4abc2fdfd..a2dddcc189f6 100644
--- a/arch/x86/entry/vdso/Makefile
+++ b/arch/x86/entry/vdso/Makefile
@@ -131,7 +131,7 @@ $(obj)/%-x32.o: $(obj)/%.o FORCE
targets += vdsox32.lds $(vobjx32s-y)
$(obj)/%.so: OBJCOPYFLAGS := -S --remove-section __ex_table
-$(obj)/%.so: $(obj)/%.so.dbg
+$(obj)/%.so: $(obj)/%.so.dbg FORCE
$(call if_changed,objcopy)
$(obj)/vdsox32.so.dbg: $(obj)/vdsox32.lds $(vobjx32s) FORCE