Message ID | 20161021012017.67b75a90@roar.ozlabs.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Oct 21, 2016 at 01:20:17AM +1100, Nicholas Piggin wrote: > Good catch, I'm surprised you're the first one who reported it. This patch > seems to do the trick for me: And me, thanks, so... > > From: Nicholas Piggin <npiggin@gmail.com> > Date: Fri, 21 Oct 2016 01:13:33 +1100 > Subject: [PATCH] kbuild: prevent lib-ksyms.o rebuilds > > 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> > > --- > scripts/Makefile.build | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/scripts/Makefile.build b/scripts/Makefile.build > index de46ab0..e1f25d6 100644 > --- a/scripts/Makefile.build > +++ b/scripts/Makefile.build > @@ -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 > > #
On Thu, 20 Oct 2016 15:33:27 +0100 Russell King - ARM Linux <linux@armlinux.org.uk> wrote: > On Fri, Oct 21, 2016 at 01:20:17AM +1100, Nicholas Piggin wrote: > > Good catch, I'm surprised you're the first one who reported it. This patch > > seems to do the trick for me: > > And me, thanks, so... > > > > > From: Nicholas Piggin <npiggin@gmail.com> > > Date: Fri, 21 Oct 2016 01:13:33 +1100 > > Subject: [PATCH] kbuild: prevent lib-ksyms.o rebuilds > > > > 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> Thanks for testing it. Hopefully if Arnd is able to respin the ARM patch to something a bit more to your liking that doesn't expose prototypes, and no other problems arise, we can avoid reverting. You had a poor first impression, but we may yet win you over. -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Oct 20, 2016 at 03:33:27PM +0100, Russell King - ARM Linux wrote: > On Fri, Oct 21, 2016 at 01:20:17AM +1100, Nicholas Piggin wrote: > > Good catch, I'm surprised you're the first one who reported it. This patch > > seems to do the trick for me: > > And me, thanks, so... > > > > > From: Nicholas Piggin <npiggin@gmail.com> > > Date: Fri, 21 Oct 2016 01:13:33 +1100 > > Subject: [PATCH] kbuild: prevent lib-ksyms.o rebuilds > > > > 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> Thanks. Added to kbuild.git#rc-fixes. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index de46ab0..e1f25d6 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -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 #