[PATCH v2] lib: xz: add support for bcj filters

yegorslists at googlemail.com yegorslists at googlemail.com
Wed Feb 22 02:33:19 PST 2017


From: Yegor Yefremov <yegorslists at 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 at 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




More information about the barebox mailing list