On Wed, 24 Aug 2016 22:29:21 +1000 Nicholas Piggin <npiggin@xxxxxxxxx> wrote: > Allow architectures to create arch/xxx/Makefile.postlink with targets > for vmlinux, modules.ko, and clean, which will be invoked after final > linking of vmlinux and modules. > > powerpc will use this to check vmlinux linker relocations for sanity, > and may use it to fix up alternate instruction patch branch addresses. > > Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx> > diff --git a/arch/Kconfig b/arch/Kconfig > index 94138e5..c8a1677 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -424,6 +424,13 @@ config CC_STACKPROTECTOR_STRONG > > endchoice > > +config BUILD_ARCH_POSTLINK > + bool > + help > + Select this if the architecture wants to have a Makefile invoked > + on modules and vmlinux after they are linked. The architecture > + must provide arch/?/Makefile.postlink > + > config THIN_ARCHIVES > bool > help Argh! Sorry, this thing crept back in again. No other reference to BUILD_ARCH_POSTLINK in the patch, so it won't invalidate testing to just remove the hunk. Thanks, Nick -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html