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

* Re: [ptxdist] [APPLIED] barebox: add optional dependency to HOST_LZ4
  2023-04-11 12:58 [ptxdist] [PATCH] barebox: add optional dependency to HOST_LZ4 Michael Tretter
@ 2023-04-14 10:03 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2023-04-14 10:03 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Tretter

Thanks, applied as 5fcd4344cc82db91218cde18d33f832d61937463.

Michael

[sent from post-receive hook]

On Fri, 14 Apr 2023 12:03:41 +0200, Michael Tretter <m.tretter@pengutronix.de> wrote:
> 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>
> Message-Id: <20230411125829.1682648-1-m.tretter@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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



^ 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