aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xz/Kconfig
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-02-21 19:44:12 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-21 20:22:26 -0500
commit5dc49c75a26b99e86a18441e0b64c1f7c7c6a500 (patch)
treec3c142d3c43785a753ab987a92961fa0fbf7e188 /lib/xz/Kconfig
parent64dbfb444c150f5b64979323a197dedc2ec3e02c (diff)
decompressors: make the default XZ_DEC_* config match the selected architecture
Change the defautl XZ_DEC_* config symbol to match the configured architecture. It is perfectly legitimate to support multiple XZ BCJ filters for different architectures (e.g.: to mount foreign squashfs/xz compressed filesystems), it is however more natural not to select them all by default, but only the one matching the configured architecture. 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/Kconfig')
-rw-r--r--lib/xz/Kconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/xz/Kconfig b/lib/xz/Kconfig
index 8d464706d4eb..82a04d7ba99e 100644
--- a/lib/xz/Kconfig
+++ b/lib/xz/Kconfig
@@ -10,32 +10,32 @@ if XZ_DEC
10 10
11config XZ_DEC_X86 11config XZ_DEC_X86
12 bool "x86 BCJ filter decoder" 12 bool "x86 BCJ filter decoder"
13 default y 13 default y if X86
14 select XZ_DEC_BCJ 14 select XZ_DEC_BCJ
15 15
16config XZ_DEC_POWERPC 16config XZ_DEC_POWERPC
17 bool "PowerPC BCJ filter decoder" 17 bool "PowerPC BCJ filter decoder"
18 default y 18 default y if POWERPC
19 select XZ_DEC_BCJ 19 select XZ_DEC_BCJ
20 20
21config XZ_DEC_IA64 21config XZ_DEC_IA64
22 bool "IA-64 BCJ filter decoder" 22 bool "IA-64 BCJ filter decoder"
23 default y 23 default y if IA64
24 select XZ_DEC_BCJ 24 select XZ_DEC_BCJ
25 25
26config XZ_DEC_ARM 26config XZ_DEC_ARM
27 bool "ARM BCJ filter decoder" 27 bool "ARM BCJ filter decoder"
28 default y 28 default y if ARM
29 select XZ_DEC_BCJ 29 select XZ_DEC_BCJ
30 30
31config XZ_DEC_ARMTHUMB 31config XZ_DEC_ARMTHUMB
32 bool "ARM-Thumb BCJ filter decoder" 32 bool "ARM-Thumb BCJ filter decoder"
33 default y 33 default y if (ARM && ARM_THUMB)
34 select XZ_DEC_BCJ 34 select XZ_DEC_BCJ
35 35
36config XZ_DEC_SPARC 36config XZ_DEC_SPARC
37 bool "SPARC BCJ filter decoder" 37 bool "SPARC BCJ filter decoder"
38 default y 38 default y if SPARC
39 select XZ_DEC_BCJ 39 select XZ_DEC_BCJ
40 40
41endif 41endif