All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tian Yuanhao <tianyuanhao@aliyun.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] linux: support Image.gz on arm64 and riscv
Date: Fri, 25 Sep 2020 10:31:43 +0800	[thread overview]
Message-ID: <1601001103.10480.0.camel@aliyun.com> (raw)
In-Reply-To: <20200924122222.3449188-2-thomas.petazzoni@bootlin.com>

On ?, 2020-09-24 at 14:22 +0200, Thomas Petazzoni wrote:
> 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)

Tested-by: Tian Yuanhao <tianyuanhao@aliyun.com>

  reply	other threads:[~2020-09-25  2:31 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 ` [Buildroot] [PATCH 2/2] linux: support Image.gz on arm64 and riscv Thomas Petazzoni
2020-09-25  2:31   ` Tian Yuanhao [this message]
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=1601001103.10480.0.camel@aliyun.com \
    --to=tianyuanhao@aliyun.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.