riscv: pi: use 'targets' instead of extra-y in Makefile
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.
Signed-off-by Masahiro Yamada <[email protected]>
---
arch/riscv/kernel/pi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/pi/Makefile +1 -1
@@ -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
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.
Signed-off-by Masahiro Yamada <[email protected]>---
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