public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] riscv: make image compression configurable
@ 2024-05-04 19:34 Emil Renner Berthing
  2024-05-04 19:34 ` [PATCH v2 1/2] " Emil Renner Berthing
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Emil Renner Berthing @ 2024-05-04 19:34 UTC (permalink / raw)
  To: linux-riscv, linux-kernel, linux-kbuild
  Cc: Paul Walmsley, Palmer Dabbelt, Masahiro Yamada, Nathan Chancellor,
	Nicolas Schier, Nick Terrell

Masahiro's patch[1] made me wonder why we're not just using KBUILD_IMAGE
to determine which (possibly compressed) kernel image to use in 'make
tar-pkg' like other architectures do. It turns out we're always setting
KBUILD_IMAGE to the uncompressed Image file and then compressing it into
the Image.gz file afterwards.

This series fixes that so the compression method is configurable and
KBUILD_IMAGE is set to the chosen (possibly uncompressed) kernel image
which is then used by targets like 'make install' and 'make bindeb-pkg' and
'make tar-pkg'.

Changes in v2:
- Rebase on riscv/for-next
- Use boot-image-$(CONFIG_..) := assignments rather than ifeq train in
  patch 1
- Drop patch 3 already applied to kbuild/for-next

Emil Renner Berthing (2):
  riscv: make image compression configurable
  riscv: show help string for riscv-specific targets

 arch/riscv/Kconfig         |  7 +++++
 arch/riscv/Makefile        | 55 ++++++++++++++++++++++++--------------
 arch/riscv/boot/install.sh |  9 ++++---
 3 files changed, 48 insertions(+), 23 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-15 13:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-04 19:34 [PATCH v2 0/2] riscv: make image compression configurable Emil Renner Berthing
2024-05-04 19:34 ` [PATCH v2 1/2] " Emil Renner Berthing
2024-05-07 12:34   ` Nicolas Schier
2024-05-07 14:26   ` Masahiro Yamada
2024-05-04 19:34 ` [PATCH v2 2/2] riscv: show help string for riscv-specific targets Emil Renner Berthing
2024-05-07 14:26   ` Masahiro Yamada
2024-05-15 13:40 ` [PATCH v2 0/2] riscv: make image compression configurable patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox