Commit-ID:  3c454f47e67bf5a65dc892cd50221a7de695870f
Gitweb:     https://git.kernel.org/tip/3c454f47e67bf5a65dc892cd50221a7de695870f
Author:     Masahiro Yamada <yamada.masah...@socionext.com>
AuthorDate: Wed, 3 Apr 2019 17:30:12 +0900
Committer:  Ingo Molnar <mi...@kernel.org>
CommitDate: Thu, 18 Apr 2019 10:05:34 +0200

x86/build/vdso: Add FORCE to the build rule of %.so

$(call if_changed,...) must have FORCE as a prerequisite.

Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Borislav Petkov <b...@alien8.de>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Link: 
http://lkml.kernel.org/r/1554280212-10578-1-git-send-email-yamada.masah...@socionext.com
Signed-off-by: Ingo Molnar <mi...@kernel.org>
---
 arch/x86/entry/vdso/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile
index 5bfe2243a08f..42fe42e82baf 100644
--- a/arch/x86/entry/vdso/Makefile
+++ b/arch/x86/entry/vdso/Makefile
@@ -116,7 +116,7 @@ $(obj)/%-x32.o: $(obj)/%.o FORCE
 targets += vdsox32.lds $(vobjx32s-y)
 
 $(obj)/%.so: OBJCOPYFLAGS := -S
-$(obj)/%.so: $(obj)/%.so.dbg
+$(obj)/%.so: $(obj)/%.so.dbg FORCE
        $(call if_changed,objcopy)
 
 $(obj)/vdsox32.so.dbg: $(obj)/vdsox32.lds $(vobjx32s) FORCE

Reply via email to