From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 24 Mar 2025 08:46:16 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1twcVl-003UwR-16 for lore@lore.pengutronix.de; Mon, 24 Mar 2025 08:46:16 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1twcVk-0005Q2-Hw; Mon, 24 Mar 2025 08:46:16 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1twcVP-00046L-1x; Mon, 24 Mar 2025 08:45:55 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1twcVO-001N8t-1H; Mon, 24 Mar 2025 08:45:54 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1twcVO-00ACqJ-2T; Mon, 24 Mar 2025 08:45:54 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 24 Mar 2025 08:45:54 +0100 Message-Id: <20250324074554.2432640-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250317113146.1862763-1-m.tretter@pengutronix.de> References: <20250317113146.1862763-1-m.tretter@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] libelf: add option for zstd support X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Michael Tretter Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 8c11dee845773ff968727e0a95388ec3577f23af. Michael [sent from post-receive hook] On Mon, 24 Mar 2025 08:45:54 +0100, Michael Tretter wrote: > Add an option to build libelf with Zstandard compression support. > > Signed-off-by: Michael Tretter > Message-Id: <20250317113146.1862763-1-m.tretter@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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))