kbuild: prevent lib-ksyms.o rebuilds
authorNicholas Piggin <npiggin@gmail.com>
Thu, 20 Oct 2016 14:13:33 +0000 (01:13 +1100)
committerMichal Marek <mmarek@suse.com>
Sat, 22 Oct 2016 19:49:30 +0000 (21:49 +0200)
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reported-by: Russell King <rmk+kernel@armlinux.org.uk>
Tested-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/Makefile.build

index de46ab03f063beaf980996102e0ec8911e173099..e1f25d6d132e79232f4ca89161c2420bc77ea8b3 100644 (file)
@@ -430,6 +430,9 @@ cmd_export_list = $(OBJDUMP) -h $< | \
 
 $(obj)/lib-ksyms.o: $(lib-target) FORCE
        $(call if_changed,export_list)
+
+targets += $(obj)/lib-ksyms.o
+
 endif
 
 #