mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] lib: xz: add support for bcj filters
@ 2017-02-21 14:47 yegorslists
  2017-02-22  4:29 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 8+ messages in thread
From: yegorslists @ 2017-02-21 14:47 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>
---
 lib/Kconfig | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/lib/Kconfig b/lib/Kconfig
index f9f25bdef..83dd8e0a4 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -22,6 +22,34 @@ config XZ_DECOMPRESS
 	bool "include xz uncompression support"
 	select UNCOMPRESS
 
+if XZ_DECOMPRESS
+
+config XZ_DEC_X86
+        bool "x86 BCJ filter decoder"
+        default y
+
+config XZ_DEC_POWERPC
+        bool "PowerPC BCJ filter decoder"
+        default y
+
+config XZ_DEC_IA64
+        bool "IA-64 BCJ filter decoder"
+        default y
+
+config XZ_DEC_ARM
+        bool "ARM BCJ filter decoder"
+        default y
+
+config XZ_DEC_ARMTHUMB
+        bool "ARM-Thumb BCJ filter decoder"
+        default y
+
+config XZ_DEC_SPARC
+        bool "SPARC BCJ filter decoder"
+        default y
+
+endif
+
 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] 8+ messages in thread

end of thread, other threads:[~2017-02-22 11:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 14:47 [PATCH] lib: xz: add support for bcj filters yegorslists
2017-02-22  4:29 ` Jean-Christophe PLAGNIOL-VILLARD
2017-02-22  8:15   ` Yegor Yefremov
2017-02-22 10:03     ` Sascha Hauer
2017-02-22 10:10       ` Yegor Yefremov
2017-02-22 10:21         ` Sascha Hauer
2017-02-22 10:35           ` Yegor Yefremov
2017-02-22 11:34             ` Sascha Hauer

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