]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
decompressors: group XZ_DEC_* symbols under an if XZ_BCJ / endif
authorFlorian Fainelli <florian@openwrt.org>
Wed, 20 Feb 2013 02:15:32 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:18 +0000 (16:53 +1100)
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>
lib/xz/Kconfig

index 60a6088d0e5e9495a2f74da59d6fc92ce0247a7f..12d2d777f36b642868b2da7139de012480445a21 100644 (file)
@@ -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