kbuild: add arch specific post-link Makefile
authorNicholas Piggin <npiggin@gmail.com>
Wed, 24 Aug 2016 12:29:21 +0000 (22:29 +1000)
committerMichal Marek <mmarek@suse.com>
Fri, 9 Sep 2016 08:47:00 +0000 (10:47 +0200)
commitfbe6e37dab974dd0fc3660c001895f7bfd771c9a
treeb50892eb57f9e567e6f9293d1c1c6a7b94f3255f
parentb67067f1176df6ee727450546b58704e4b588563
kbuild: add arch specific post-link Makefile

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@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Documentation/kbuild/makefiles.txt
Makefile
scripts/Makefile.modpost