aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-08-19 10:22:51 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-09-03 08:17:19 +0900
commit55a6d00ed0c1b4d20d7966d00fda6848d776658d (patch)
tree43e7bd9b8c5807a5f3ed5d376d160b4ea1001eb3 /arch
parentkbuild: Fix TRIM_UNUSED_KSYMS with LTO_CLANG (diff)
downloadlinux-dev-55a6d00ed0c1b4d20d7966d00fda6848d776658d.tar.xz
linux-dev-55a6d00ed0c1b4d20d7966d00fda6848d776658d.zip
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>
Diffstat (limited to 'arch')
-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