[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFr9PXmF-AOL8yj9FntHw+b1A8HWKNeAHU=rx7Dk7pfi1N_4fA@mail.gmail.com>
Date: Sat, 9 Aug 2025 20:35:39 +0900
From: Daniel Palmer <daniel@...f.com>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: geert@...ux-m68k.org, linux-m68k@...ts.linux-m68k.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] m68k: Add target for lz4 compressed vmlinux
Hi Thomas,
On Sat, 9 Aug 2025 at 16:50, Thomas Weißschuh <linux@...ssschuh.net> wrote:
> Splitting the vmlinux.tmp creation into a dedicated target would make
> all the compressor targets simpler. It will need a bit more disk space,
> but there are a bunch of vmlinux copies already in any case.
>
That's true. I think a target for vmlinux.stripped and then use that
in the compressed image targets.
How about this?:
vmlinux.stripped: vmlinux
cp $< $@
$(STRIP) $@
vmlinux.gz: vmlinux.stripped
ifndef CONFIG_KGDB
$(KGZIP) -9c vmlinux.stripped >vmlinux.gz
else
$(KGZIP) -9c vmlinux >vmlinux.gz
endif
<snip>
> > +
> > CLEAN_FILES += vmlinux.gz vmlinux.bz2
>
> CLEAN_FILES also needs to be updated.
Noted. Will fix for v2.
Thanks,
Daniel
Powered by blists - more mailing lists