mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] kernel: add option to select the zstd host tool
Date: Fri, 21 Aug 2020 08:54:17 +0200	[thread overview]
Message-ID: <E1k90wL-0006ui-4u@dude02.hi.pengutronix.de> (raw)
In-Reply-To: <20200817080242.27367-1-p.zabel@pengutronix.de>

Thanks, applied as 643555a975798d6e590798b4b5fe119b457e277a.

Michael

[sent from post-receive hook]

On Fri, 21 Aug 2020 08:54:17 +0200, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> To build Zstandard compressed kernels, the zstd host tool is required.
> Add a kernel option to select the host-zstd rule.
> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Message-Id: <20200817080242.27367-1-p.zabel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/platforms/kernel.in b/platforms/kernel.in
> index 3c93d9a0e3d0..6f3e3c8cd81c 100644
> --- a/platforms/kernel.in
> +++ b/platforms/kernel.in
> @@ -4,6 +4,7 @@ menuconfig KERNEL
>  	bool
>  	default y
>  	select HOST_U_BOOT_TOOLS	if KERNEL_IMAGE_U || (KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE)
> +	select HOST_ZSTD		if KERNEL_ZSTD
>  	select HOST_XZ			if KERNEL_XZ
>  	select HOST_LZOP		if KERNEL_LZOP
>  	select HOST_LZ4			if KERNEL_LZ4
> @@ -151,6 +152,17 @@ config KERNEL_IMAGE
>  	default "Image"   if KERNEL_IMAGE_RAW
>  	default "simpleImage.${PTXCONF_KERNEL_IMAGE_SIMPLE_TARGET}.elf" if KERNEL_IMAGE_SIMPLE
>  
> +config KERNEL_ZSTD
> +	prompt "build zstd hosttool"
> +	bool
> +	help
> +	  Select this if you're going to build your kernel compressed
> +	  with zstd and your host system is lacking the proper tools
> +	  (the "zstd" package).
> +
> +	  Select this if you're unsure, as it won't hurt. It just
> +	  increases the build time.
> +
>  config KERNEL_XZ
>  	prompt "build xz-utils hosttool"
>  	bool

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      reply	other threads:[~2020-08-21  6:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-17  8:02 [ptxdist] [PATCH] " Philipp Zabel
2020-08-21  6:54 ` Michael Olbrich [this message]

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=E1k90wL-0006ui-4u@dude02.hi.pengutronix.de \
    --to=mol@pengutronix.de \
    --cc=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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