From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] linux: support Image.gz on arm64 and riscv
Date: Thu, 24 Sep 2020 14:22:21 +0200 [thread overview]
Message-ID: <20200924122222.3449188-2-thomas.petazzoni@bootlin.com> (raw)
In-Reply-To: <20200924122222.3449188-1-thomas.petazzoni@bootlin.com>
Both arm64 and riscv allow generating a compressed Image.gz file, so
let's support that as a first class citizen.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
linux/Config.in | 4 ++++
linux/linux.mk | 2 ++
2 files changed, 6 insertions(+)
diff --git a/linux/Config.in b/linux/Config.in
index 9f2af6da5b..73b9c30b26 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -262,6 +262,10 @@ config BR2_LINUX_KERNEL_IMAGE
bool "Image"
depends on BR2_aarch64 || BR2_riscv
+config BR2_LINUX_KERNEL_IMAGE_GZ
+ bool "Image.gz"
+ depends on BR2_aarch64 || BR2_riscv
+
config BR2_LINUX_KERNEL_LINUX_BIN
bool "linux.bin"
depends on BR2_microblaze
diff --git a/linux/linux.mk b/linux/linux.mk
index e07e014d1e..133023f78c 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -201,6 +201,8 @@ else ifeq ($(BR2_LINUX_KERNEL_SIMPLEIMAGE),y)
LINUX_IMAGE_NAME = simpleImage.$(firstword $(LINUX_DTS_NAME))
else ifeq ($(BR2_LINUX_KERNEL_IMAGE),y)
LINUX_IMAGE_NAME = Image
+else ifeq ($(BR2_LINUX_KERNEL_IMAGE_GZ),y)
+LINUX_IMAGE_NAME = Image.gz
else ifeq ($(BR2_LINUX_KERNEL_LINUX_BIN),y)
LINUX_IMAGE_NAME = linux.bin
else ifeq ($(BR2_LINUX_KERNEL_VMLINUX_BIN),y)
--
2.26.2
next prev parent reply other threads:[~2020-09-24 12:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 12:22 [Buildroot] [PATCH 1/2] linux: show compression options only on some architectures Thomas Petazzoni
2020-09-24 12:22 ` Thomas Petazzoni [this message]
2020-09-25 2:31 ` [Buildroot] [PATCH 2/2] linux: support Image.gz on arm64 and riscv Tian Yuanhao
2020-09-25 7:37 ` [Buildroot] [PATCH 1/2] linux: show compression options only on some architectures Yann E. MORIN
2020-09-25 7:45 ` Thomas Petazzoni
2020-09-25 8:14 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200924122222.3449188-2-thomas.petazzoni@bootlin.com \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox