Naveen N Rao 1198c9c689 kbuild: Add generic hook for architectures to use before the final vmlinux link
On powerpc, we would like to be able to make a pass on vmlinux.o and
generate a new object file to be linked into vmlinux. Add a generic pass
in Makefile.vmlinux that architectures can use for this purpose.

Architectures need to select CONFIG_ARCH_WANTS_PRE_LINK_VMLINUX and must
provide arch/<arch>/tools/Makefile with .arch.vmlinux.o target, which
will be invoked prior to the final vmlinux link step.

Acked-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Naveen N Rao <naveen@kernel.org>
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241030070850.1361304-12-hbathini@linux.ibm.com
2024-10-31 11:00:54 +11:00
..
2024-09-01 20:34:49 +09:00
2024-10-07 02:12:27 +09:00
2024-08-23 10:21:02 +01:00
2024-09-25 10:25:40 -07:00
2023-07-01 09:24:31 -07:00
2022-10-03 14:03:19 -07:00
2024-09-25 10:25:40 -07:00
2024-09-28 09:06:15 -07:00
2024-05-18 12:39:20 -07:00
2023-12-03 18:51:48 +09:00
2024-01-04 17:01:15 +01:00
2021-05-03 17:23:06 -06:00