mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2] lib: xz: add support for bcj filters
@ 2017-02-22 10:33 yegorslists
  2017-02-24  7:13 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists @ 2017-02-22 10:33 UTC (permalink / raw)
  To: barebox; +Cc: hyfinglists

From: Yegor Yefremov <yegorslists@googlemail.com>

Add missing configuration options for various bcj filters. Without
these options the lib/xz/xz_dec_bcj.c file will be compiled, but all
filters will be disabled.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes v1 -> v2:
  - always select all filters (Sascha Hauer)

 lib/Kconfig | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/lib/Kconfig b/lib/Kconfig
index f9f25bdef..8a94ce09f 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -21,6 +21,30 @@ config LZ4_DECOMPRESS
 config XZ_DECOMPRESS
 	bool "include xz uncompression support"
 	select UNCOMPRESS
+	select XZ_DEC_X86
+	select XZ_DEC_POWERPC
+	select XZ_DEC_IA64
+	select XZ_DEC_ARM
+	select XZ_DEC_ARMTHUMB
+	select XZ_DEC_SPARC
+
+config XZ_DEC_X86
+        bool
+
+config XZ_DEC_POWERPC
+        bool
+
+config XZ_DEC_IA64
+        bool
+
+config XZ_DEC_ARM
+        bool
+
+config XZ_DEC_ARMTHUMB
+        bool
+
+config XZ_DEC_SPARC
+        bool
 
 config REED_SOLOMON
 	bool
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH v2] lib: xz: add support for bcj filters
  2017-02-22 10:33 [PATCH v2] lib: xz: add support for bcj filters yegorslists
@ 2017-02-24  7:13 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2017-02-24  7:13 UTC (permalink / raw)
  To: yegorslists; +Cc: hyfinglists, barebox

On Wed, Feb 22, 2017 at 11:33:19AM +0100, yegorslists@googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Add missing configuration options for various bcj filters. Without
> these options the lib/xz/xz_dec_bcj.c file will be compiled, but all
> filters will be disabled.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Applied, thanks

Sascha

> ---
> Changes v1 -> v2:
>   - always select all filters (Sascha Hauer)
> 
>  lib/Kconfig | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/lib/Kconfig b/lib/Kconfig
> index f9f25bdef..8a94ce09f 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -21,6 +21,30 @@ config LZ4_DECOMPRESS
>  config XZ_DECOMPRESS
>  	bool "include xz uncompression support"
>  	select UNCOMPRESS
> +	select XZ_DEC_X86
> +	select XZ_DEC_POWERPC
> +	select XZ_DEC_IA64
> +	select XZ_DEC_ARM
> +	select XZ_DEC_ARMTHUMB
> +	select XZ_DEC_SPARC
> +
> +config XZ_DEC_X86
> +        bool
> +
> +config XZ_DEC_POWERPC
> +        bool
> +
> +config XZ_DEC_IA64
> +        bool
> +
> +config XZ_DEC_ARM
> +        bool
> +
> +config XZ_DEC_ARMTHUMB
> +        bool
> +
> +config XZ_DEC_SPARC
> +        bool
>  
>  config REED_SOLOMON
>  	bool
> -- 
> 2.11.0
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2017-02-24  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22 10:33 [PATCH v2] lib: xz: add support for bcj filters yegorslists
2017-02-24  7:13 ` Sascha Hauer

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