bzip2/lzma: proper Kconfig dependencies for the ramdisk options
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / lib / Kconfig
CommitLineData
1da177e4
LT
1#
2# Library configuration
3#
4
5menu "Library routines"
6
a5cfc1ec
AM
7config BITREVERSE
8 tristate
9
19870def 10config GENERIC_FIND_FIRST_BIT
9ba16087 11 bool
19870def
AH
12
13config GENERIC_FIND_NEXT_BIT
9ba16087 14 bool
19870def 15
ab53d472
RR
16config GENERIC_FIND_LAST_BIT
17 bool
18 default y
19
1da177e4
LT
20config CRC_CCITT
21 tristate "CRC-CCITT functions"
22 help
23 This option is provided for the case where no in-kernel-tree
24 modules require CRC-CCITT functions, but a module built outside
25 the kernel tree does. Such modules that use library CRC-CCITT
26 functions require M here.
27
7657ec1f
EP
28config CRC16
29 tristate "CRC16 functions"
30 help
31 This option is provided for the case where no in-kernel-tree
32 modules require CRC16 functions, but a module built outside
33 the kernel tree does. Such modules that use library CRC16
34 functions require M here.
35
f11f594e
MP
36config CRC_T10DIF
37 tristate "CRC calculation for the T10 Data Integrity Field"
38 help
39 This option is only needed if a module that's not in the
40 kernel tree needs to calculate CRC checks for use with the
41 SCSI data integrity subsystem.
42
3e7cbae7
ID
43config CRC_ITU_T
44 tristate "CRC ITU-T V.41 functions"
45 help
46 This option is provided for the case where no in-kernel-tree
47 modules require CRC ITU-T V.41 functions, but a module built outside
48 the kernel tree does. Such modules that use library CRC ITU-T V.41
49 functions require M here.
50
1da177e4
LT
51config CRC32
52 tristate "CRC32 functions"
53 default y
906d66df 54 select BITREVERSE
1da177e4
LT
55 help
56 This option is provided for the case where no in-kernel-tree
57 modules require CRC32 functions, but a module built outside the
58 kernel tree does. Such modules that use library CRC32 functions
59 require M here.
60
ad241528
JN
61config CRC7
62 tristate "CRC7 functions"
63 help
64 This option is provided for the case where no in-kernel-tree
65 modules require CRC7 functions, but a module built outside
66 the kernel tree does. Such modules that use library CRC7
67 functions require M here.
68
1da177e4
LT
69config LIBCRC32C
70 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
93027354 71 select CRYPTO
69c35efc 72 select CRYPTO_CRC32C
1da177e4
LT
73 help
74 This option is provided for the case where no in-kernel-tree
75 modules require CRC32c functions, but a module built outside the
76 kernel tree does. Such modules that use library CRC32c functions
77 require M here. See Castagnoli93.
78 Module will be libcrc32c.
79
e65e1fc2
AV
80config AUDIT_GENERIC
81 bool
82 depends on AUDIT && !AUDIT_ARCH
83 default y
84
1da177e4
LT
85#
86# compression support is select'ed if needed
87#
88config ZLIB_INFLATE
89 tristate
90
91config ZLIB_DEFLATE
92 tristate
93
64c70b1c
RP
94config LZO_COMPRESS
95 tristate
96
97config LZO_DECOMPRESS
98 tristate
99
c8531ab3
PA
100#
101# These all provide a common interface (hence the apparent duplication with
102# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
103#
104config DECOMPRESS_GZIP
105 tristate
106
107config DECOMPRESS_BZIP2
108 tristate
109
110config DECOMPRESS_LZMA
111 tristate
112
f14f75b8
JS
113#
114# Generic allocator support is selected if needed
115#
116config GENERIC_ALLOCATOR
117 boolean
118
1da177e4
LT
119#
120# reed solomon support is select'ed if needed
121#
122config REED_SOLOMON
123 tristate
124
125config REED_SOLOMON_ENC8
126 boolean
127
128config REED_SOLOMON_DEC8
129 boolean
130
131config REED_SOLOMON_ENC16
132 boolean
133
134config REED_SOLOMON_DEC16
135 boolean
136
f7704347
DM
137#
138# Textsearch support is select'ed if needed
139#
2de4ff7b 140config TEXTSEARCH
f7704347 141 boolean
1da177e4 142
df3fb93a 143config TEXTSEARCH_KMP
f7704347 144 tristate
df3fb93a 145
8082e4ed 146config TEXTSEARCH_BM
29cb9f9c 147 tristate
8082e4ed 148
6408f79c 149config TEXTSEARCH_FSM
f7704347 150 tristate
6408f79c 151
77ba89c5
IM
152#
153# plist support is select#ed if needed
154#
155config PLIST
156 boolean
157
5ea81769 158config HAS_IOMEM
ee36c2bf 159 boolean
5ea81769
AV
160 depends on !NO_IOMEM
161 default y
162
163config HAS_IOPORT
164 boolean
165 depends on HAS_IOMEM && !NO_IOPORT
ee36c2bf
AV
166 default y
167
411f0f3e
HC
168config HAS_DMA
169 boolean
170 depends on !NO_DMA
171 default y
172
928923c7
GU
173config CHECK_SIGNATURE
174 bool
175
d9b2b2a2
DM
176config HAVE_LMB
177 boolean
178
aab46da0
RR
179config CPUMASK_OFFSTACK
180 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
181 help
182 Use dynamic allocation for cpumask_var_t, instead of putting
183 them on the stack. This is a bit more expensive, but avoids
184 stack overflow.
185
8c384cde
RR
186config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
187 bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
188 depends on EXPERIMENTAL && BROKEN
189
2de4ff7b 190endmenu