summaryrefslogtreecommitdiffstats
path: root/lib/xz
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-02-21 16:44:10 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-21 17:22:26 -0800
commit9d7496296590d57e0745286711aa31ed1b828917 (patch)
tree05b99d46dacc76bf3728e20420ce092f8298c04d /lib/xz
parent53769627b93d5b1d04178fd1fb2558d933ee9e81 (diff)
downloadlinux-9d7496296590d57e0745286711aa31ed1b828917.tar.gz
linux-9d7496296590d57e0745286711aa31ed1b828917.tar.bz2
linux-9d7496296590d57e0745286711aa31ed1b828917.zip
decompressors: group XZ_DEC_* symbols under an if XZ_BCJ / endif
Group all architecture-specific BCJ filter configuration symbols under an if XZ_BCJ / endif statement. Signed-off-by: Florian Fainelli <florian@openwrt.org> Acked-by: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/xz')
-rw-r--r--lib/xz/Kconfig10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/xz/Kconfig b/lib/xz/Kconfig
index 60a6088d0e5e..12d2d777f36b 100644
--- a/lib/xz/Kconfig
+++ b/lib/xz/Kconfig
@@ -6,42 +6,40 @@ config XZ_DEC
the .xz file format as the container. For integrity checking,
CRC32 is supported. See Documentation/xz.txt for more information.
+if XZ_DEC
+
config XZ_DEC_X86
bool "x86 BCJ filter decoder" if EXPERT
default y
- depends on XZ_DEC
select XZ_DEC_BCJ
config XZ_DEC_POWERPC
bool "PowerPC BCJ filter decoder" if EXPERT
default y
- depends on XZ_DEC
select XZ_DEC_BCJ
config XZ_DEC_IA64
bool "IA-64 BCJ filter decoder" if EXPERT
default y
- depends on XZ_DEC
select XZ_DEC_BCJ
config XZ_DEC_ARM
bool "ARM BCJ filter decoder" if EXPERT
default y
- depends on XZ_DEC
select XZ_DEC_BCJ
config XZ_DEC_ARMTHUMB
bool "ARM-Thumb BCJ filter decoder" if EXPERT
default y
- depends on XZ_DEC
select XZ_DEC_BCJ
config XZ_DEC_SPARC
bool "SPARC BCJ filter decoder" if EXPERT
default y
- depends on XZ_DEC
select XZ_DEC_BCJ
+endif
+
config XZ_DEC_BCJ
bool
default n