mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] barebox: add optional dependency to HOST_LZ4
@ 2023-04-11 12:58 Michael Tretter
  2023-04-14 10:03 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tretter @ 2023-04-11 12:58 UTC (permalink / raw)
  To: ptxdist; +Cc: mtr

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-14 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11 12:58 [ptxdist] [PATCH] barebox: add optional dependency to HOST_LZ4 Michael Tretter
2023-04-14 10:03 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox