]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: pi: use 'targets' instead of extra-y in Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 2 Jun 2025 18:09:35 +0000 (03:09 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 1 Jul 2025 11:44:38 +0000 (12:44 +0100)
%.pi.o files are built as prerequisites of other objects.
There is no need to use extra-y, which is planned for deprecation.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20250602180937.528459-1-masahiroy@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/pi/Makefile

index 4d11a8c29181640f5bf71c1766f8a9e5c3d715a8..211e1a79b07a629c4efe9379729213e01ea42c37 100644 (file)
@@ -41,4 +41,4 @@ obj-y                                 := idreg-override.pi.o \
 obj-$(CONFIG_RELOCATABLE)              += relocate.pi.o
 obj-$(CONFIG_RANDOMIZE_BASE)           += kaslr_early.pi.o
 obj-$(CONFIG_UNWIND_PATCH_PAC_INTO_SCS)        += patch-scs.pi.o
-extra-y                                        := $(patsubst %.pi.o,%.o,$(obj-y))
+targets                                        := $(patsubst %.pi.o,%.o,$(obj-y))