The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] arm64: pi: use 'targets' instead of extra-y in Makefile
@ 2025-06-02 18:09 Masahiro Yamada
  2025-07-01 14:28 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2025-06-02 18:09 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, linux-arm-kernel
  Cc: Masahiro Yamada, linux-kernel

%.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>
---

 arch/arm64/kernel/pi/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kernel/pi/Makefile b/arch/arm64/kernel/pi/Makefile
index 4d11a8c29181..211e1a79b07a 100644
--- a/arch/arm64/kernel/pi/Makefile
+++ b/arch/arm64/kernel/pi/Makefile
@@ -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))
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: pi: use 'targets' instead of extra-y in Makefile
  2025-06-02 18:09 [PATCH] arm64: pi: use 'targets' instead of extra-y in Makefile Masahiro Yamada
@ 2025-07-01 14:28 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2025-07-01 14:28 UTC (permalink / raw)
  To: Will Deacon, linux-arm-kernel, Masahiro Yamada; +Cc: linux-kernel

On Tue, 03 Jun 2025 03:09:35 +0900, Masahiro Yamada wrote:
> %.pi.o files are built as prerequisites of other objects.
> There is no need to use extra-y, which is planned for deprecation.
> 
> 

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: pi: use 'targets' instead of extra-y in Makefile
      https://git.kernel.org/arm64/c/6853acd39998

-- 
Catalin


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-01 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-02 18:09 [PATCH] arm64: pi: use 'targets' instead of extra-y in Makefile Masahiro Yamada
2025-07-01 14:28 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox