* [PATCH] mips: boot: use 'targets' instead of extra-y in Makefile
@ 2025-06-08 1:51 Masahiro Yamada
2025-07-02 12:14 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2025-06-08 1:51 UTC (permalink / raw)
To: Thomas Bogendoerfer, linux-mips; +Cc: Masahiro Yamada, linux-kernel
vmlinux.bin.* 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/mips/boot/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile
index 196c44fa72d9..8473c4671702 100644
--- a/arch/mips/boot/Makefile
+++ b/arch/mips/boot/Makefile
@@ -54,10 +54,10 @@ UIMAGE_ENTRYADDR = $(VMLINUX_ENTRY_ADDRESS)
# Compressed vmlinux images
#
-extra-y += vmlinux.bin.bz2
-extra-y += vmlinux.bin.gz
-extra-y += vmlinux.bin.lzma
-extra-y += vmlinux.bin.lzo
+targets += vmlinux.bin.bz2
+targets += vmlinux.bin.gz
+targets += vmlinux.bin.lzma
+targets += vmlinux.bin.lzo
$(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
$(call if_changed,bzip2)
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mips: boot: use 'targets' instead of extra-y in Makefile
2025-06-08 1:51 [PATCH] mips: boot: use 'targets' instead of extra-y in Makefile Masahiro Yamada
@ 2025-07-02 12:14 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2025-07-02 12:14 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: linux-mips, linux-kernel
On Sun, Jun 08, 2025 at 10:51:34AM +0900, Masahiro Yamada wrote:
> vmlinux.bin.* 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/mips/boot/Makefile | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile
> index 196c44fa72d9..8473c4671702 100644
> --- a/arch/mips/boot/Makefile
> +++ b/arch/mips/boot/Makefile
> @@ -54,10 +54,10 @@ UIMAGE_ENTRYADDR = $(VMLINUX_ENTRY_ADDRESS)
> # Compressed vmlinux images
> #
>
> -extra-y += vmlinux.bin.bz2
> -extra-y += vmlinux.bin.gz
> -extra-y += vmlinux.bin.lzma
> -extra-y += vmlinux.bin.lzo
> +targets += vmlinux.bin.bz2
> +targets += vmlinux.bin.gz
> +targets += vmlinux.bin.lzma
> +targets += vmlinux.bin.lzo
>
> $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
> $(call if_changed,bzip2)
> --
> 2.43.0
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-02 13:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-08 1:51 [PATCH] mips: boot: use 'targets' instead of extra-y in Makefile Masahiro Yamada
2025-07-02 12:14 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).