Skip to contentSkip to conversation

riscv: pi: use 'targets' instead of extra-y in Makefile

PATCH Applied Masahiro Yamada 2 participants 2 messages Jun 2, 2025 – Aug 6, 2025 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: pi: use 'targets' instead of extra-y in Makefile

%.pi.o files are built as prerequisites of other objects. There is no need to use extra-y, which is planned for deprecation.

---

 arch/riscv/kernel/pi/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/pi/Makefile +1 -1
index 81d69d45c06c..13b7d68c95b5 100644
@@ -39,4 +39,4 @@ $(obj)/ctype.o: $(srctree)/lib/ctype.c FORCE
 	$(call if_changed_rule,cc_o_c)
 
 obj-y		:= cmdline_early.pi.o fdt_early.pi.o string.pi.o ctype.pi.o lib-fdt.pi.o lib-fdt_ro.pi.o archrandom_early.pi.o
-extra-y		:= $(patsubst %.pi.o,%.o,$(obj-y))
+targets		:= $(patsubst %.pi.o,%.o,$(obj-y))
Signature · 1 line
2.43.0
#1 lore raw
This patch was applied to riscv/linux.git (for-next) by Alexandre Ghiti <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (for-next) by Alexandre Ghiti <[email protected]>:

Quoted 8 lines · On Tue, 3 Jun 2025 03:10:18 +0900 you wrote:

%.pi.o files are built as prerequisites of other objects. There is no need to use extra-y, which is planned for deprecation.

---

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

Here is the summary with links:
- riscv: pi: use 'targets' instead of extra-y in Makefile

    https://git.kernel.org/riscv/c/cc750fa93b5a

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html