]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: pi: use 'targets' instead of extra-y in Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 2 Jun 2025 18:10:18 +0000 (03:10 +0900)
committerPaul Walmsley <pjw@kernel.org>
Thu, 18 Sep 2025 14:20:56 +0000 (08:20 -0600)
%.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/20250602181023.528550-1-masahiroy@kernel.org
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/pi/Makefile

index 7dd15be69c9007fccc5cb2fb79d6870364e1e650..bc098edac898131bc6c43cee18fc042dbbb42aa3 100644 (file)
@@ -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))