mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] libelf: add option for zstd support
Date: Mon, 24 Mar 2025 08:45:54 +0100	[thread overview]
Message-ID: <20250324074554.2432640-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250317113146.1862763-1-m.tretter@pengutronix.de>

Thanks, applied as 8c11dee845773ff968727e0a95388ec3577f23af.

Michael

[sent from post-receive hook]

On Mon, 24 Mar 2025 08:45:54 +0100, Michael Tretter <m.tretter@pengutronix.de> wrote:
> Add an option to build libelf with Zstandard compression support.
> 
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> Message-Id: <20250317113146.1862763-1-m.tretter@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/libelf.in b/rules/libelf.in
> index 0b4da9e682c8..fefe58219a0c 100644
> --- a/rules/libelf.in
> +++ b/rules/libelf.in
> @@ -5,6 +5,7 @@ menuconfig LIBELF
>  	prompt "libelf                        "
>  	select ZLIB
>  	select XZ		if LIBELF_XZ
> +	select ZSTD		if LIBELF_ZSTD
>  	help
>  	  The libelf1 package provides a shared library which allows reading
>  	  and writing ELF files on a high level.  Third party programs depend
> @@ -16,6 +17,10 @@ config LIBELF_XZ
>  	bool
>  	prompt "xz compression support"
>  
> +config LIBELF_ZSTD
> +	bool
> +	prompt "zstd compression support"
> +
>  config LIBELF_LIBDW
>  	bool
>  	prompt "libdw"
> diff --git a/rules/libelf.make b/rules/libelf.make
> index 84e399e9f7a4..d36b4d67b372 100644
> --- a/rules/libelf.make
> +++ b/rules/libelf.make
> @@ -62,7 +62,7 @@ LIBELF_CONF_OPT	:= \
>  	--with-zlib \
>  	--without-bzlib \
>  	--$(call ptx/wwo, PTXCONF_LIBELF_XZ)-lzma \
> -	--without-zstd \
> +	--$(call ptx/wwo, PTXCONF_LIBELF_ZSTD)-zstd \
>  	--without-biarch
>  
>  LIBELF_ARCH := $(call remove_quotes,$(PTXCONF_ARCH_STRING))



      parent reply	other threads:[~2025-03-24  7:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-17 11:31 [ptxdist] [PATCH 1/2] " Michael Tretter
2025-03-17 11:31 ` [ptxdist] [PATCH 2/2] kernel/perf: enable " Michael Tretter
2025-03-24  7:45   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-03-24  7:45 ` 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=20250324074554.2432640-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=m.tretter@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