mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: mtr@pengutronix.de
Subject: [ptxdist] [PATCH] barebox: add optional dependency to HOST_LZ4
Date: Tue, 11 Apr 2023 14:58:29 +0200	[thread overview]
Message-ID: <20230411125829.1682648-1-m.tretter@pengutronix.de> (raw)

barebox switched the default compression to lz4. Therefore, it needs the
host lz4 to build with lz4 compression. Add the option to specify
HOST_LZ4 as a dependency of barebox.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 platforms/barebox.in | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/platforms/barebox.in b/platforms/barebox.in
index 956da81f34b9..11b346c07aab 100644
--- a/platforms/barebox.in
+++ b/platforms/barebox.in
@@ -19,6 +19,7 @@ menuconfig BAREBOX
 	select HOST_OPENSSL if BAREBOX_NEEDS_HOST_OPENSSL
 	select HOST_IMX_CST if BAREBOX_NEEDS_HOST_IMX_CST
 	select HOST_LZOP if BAREBOX_NEEDS_HOST_LZOP
+	select HOST_LZ4 if BAREBOX_NEEDS_HOST_LZ4
 	select CODE_SIGNING if BAREBOX_NEEDS_KEYS
 	prompt "barebox                       "
 	bool
@@ -169,4 +170,12 @@ config BAREBOX_NEEDS_HOST_LZOP
 	  lzop is used in order to compile lzop for your development
 	  host.
 
+config BAREBOX_NEEDS_HOST_LZ4
+	prompt "barebox needs lz4"
+	bool
+	help
+	  The barebox executable can be compressed. Select this if
+	  lz4 is used in order to compile lz4 for your development
+	  host.
+
 endif
-- 
2.39.2




             reply	other threads:[~2023-04-11 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11 12:58 Michael Tretter [this message]
2023-04-14 10:03 ` [ptxdist] [APPLIED] " Michael Olbrich

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=20230411125829.1682648-1-m.tretter@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=mtr@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