powerpc: use always-y instead of extra-y in Makefiles
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 2 Jun 2025 16:32:24 +0000 (01:32 +0900)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 20 Aug 2025 08:32:13 +0000 (14:02 +0530)
commiteb59d4c5948d93e940b5dde9d1bf3b33367fbcb8
treeed3e3e2a1e6f361b5064c1a5c7d2a5ee6fa76ed2
parent8b5d86a63bc9510e094a15d7268c60bd4347b95c
powerpc: use always-y instead of extra-y in Makefiles

The extra-y syntax is planned for deprecation because it is similar
to always-y.

When building the boot wrapper, always-y and extra-y are equivalent.
Use always-y instead.

In arch/powerpc/kernel/Makefile, I added ifdef KBUILD_BUILTIN to
keep the current behavior: prom_init_check is skipped when building
only modular objects.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250602163302.478765-1-masahiroy@kernel.org
arch/powerpc/boot/Makefile
arch/powerpc/kernel/Makefile