blob: 2a9c69f3448216e8ce3f6a0f5488a947dfa55060 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Library configuration
3#
4
5menu "Library routines"
6
Akinobu Mitaa5cfc1e2006-12-08 02:36:25 -08007config BITREVERSE
8 tristate
9
Alexander van Heukelum19870de2008-04-25 13:12:53 +020010config GENERIC_FIND_FIRST_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070011 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020012
13config GENERIC_FIND_NEXT_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070014 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020015
Rusty Russellab53d472009-01-01 10:12:19 +103016config GENERIC_FIND_LAST_BIT
17 bool
18 default y
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020config 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
Evgeniy Polyakov7657ec12005-08-17 15:17:26 +040028config 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
Martin K. Petersenf11f5942008-06-25 11:22:42 -040036config 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
Ivo van Doorn3e7cbae2006-06-12 16:17:04 +020043config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070051config CRC32
52 tristate "CRC32 functions"
53 default y
Akinobu Mita906d66d2006-12-08 02:36:25 -080054 select BITREVERSE
Linus Torvalds1da177e2005-04-16 15:20:36 -070055 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
Jan Nikitenkoad241522007-07-17 04:04:03 -070061config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070069config LIBCRC32C
70 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
Herbert Xu93027352008-11-13 22:05:13 +080071 select CRYPTO
Herbert Xu69c35ef2008-11-07 15:11:47 +080072 select CRYPTO_CRC32C
Linus Torvalds1da177e2005-04-16 15:20:36 -070073 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
Al Viroe65e1fc2006-09-12 03:04:40 -040080config AUDIT_GENERIC
81 bool
82 depends on AUDIT && !AUDIT_ARCH
83 default y
84
Linus Torvalds1da177e2005-04-16 15:20:36 -070085#
86# compression support is select'ed if needed
87#
88config ZLIB_INFLATE
89 tristate
90
91config ZLIB_DEFLATE
92 tristate
93
Richard Purdie64c70b12007-07-10 17:22:24 -070094config LZO_COMPRESS
95 tristate
96
97config LZO_DECOMPRESS
98 tristate
99
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100#
H. Peter Anvinc8531ab2009-01-05 13:48:31 -0800101# These all provide a common interface (hence the apparent duplication with
102# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
103#
104config DECOMPRESS_GZIP
H. Peter Anvin7856a16e2009-01-07 00:01:43 -0800105 select ZLIB_INFLATE
H. Peter Anvinc8531ab2009-01-05 13:48:31 -0800106 tristate
107
108config DECOMPRESS_BZIP2
109 tristate
110
111config DECOMPRESS_LZMA
112 tristate
113
114#
Jes Sorensenf14f75b2005-06-21 17:15:02 -0700115# Generic allocator support is selected if needed
116#
117config GENERIC_ALLOCATOR
118 boolean
119
120#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121# reed solomon support is select'ed if needed
122#
123config REED_SOLOMON
124 tristate
125
126config REED_SOLOMON_ENC8
127 boolean
128
129config REED_SOLOMON_DEC8
130 boolean
131
132config REED_SOLOMON_ENC16
133 boolean
134
135config REED_SOLOMON_DEC16
136 boolean
137
David S. Millerf7704342005-06-24 17:39:03 -0700138#
139# Textsearch support is select'ed if needed
140#
Thomas Graf2de4ff72005-06-23 20:49:30 -0700141config TEXTSEARCH
David S. Millerf7704342005-06-24 17:39:03 -0700142 boolean
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143
Thomas Grafdf3fb932005-06-23 20:58:37 -0700144config TEXTSEARCH_KMP
David S. Millerf7704342005-06-24 17:39:03 -0700145 tristate
Thomas Grafdf3fb932005-06-23 20:58:37 -0700146
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700147config TEXTSEARCH_BM
David S. Miller29cb9f92005-08-25 16:23:11 -0700148 tristate
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700149
Thomas Graf6408f792005-06-23 20:59:16 -0700150config TEXTSEARCH_FSM
David S. Millerf7704342005-06-24 17:39:03 -0700151 tristate
Thomas Graf6408f792005-06-23 20:59:16 -0700152
Al Viro5ea81762007-02-11 15:41:31 +0000153config HAS_IOMEM
Al Viroee36c2b2006-12-13 00:35:00 -0800154 boolean
Al Viro5ea81762007-02-11 15:41:31 +0000155 depends on !NO_IOMEM
156 default y
157
158config HAS_IOPORT
159 boolean
160 depends on HAS_IOMEM && !NO_IOPORT
Al Viroee36c2b2006-12-13 00:35:00 -0800161 default y
162
Heiko Carstens411f0f32007-05-06 14:49:09 -0700163config HAS_DMA
164 boolean
165 depends on !NO_DMA
166 default y
167
Geert Uytterhoeven928923c2007-08-22 14:01:36 -0700168config CHECK_SIGNATURE
169 bool
170
David S. Millerd9b2b2a2008-02-13 16:56:49 -0800171config HAVE_LMB
172 boolean
173
Rusty Russellaab46da2008-12-13 21:20:27 +1030174config CPUMASK_OFFSTACK
175 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
176 help
177 Use dynamic allocation for cpumask_var_t, instead of putting
178 them on the stack. This is a bit more expensive, but avoids
179 stack overflow.
180
Rusty Russell8c384cd2009-01-01 10:12:30 +1030181config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
182 bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
183 depends on EXPERIMENTAL && BROKEN
184
Geert Uytterhoevene9cc8bd2009-03-04 14:53:30 +0800185#
186# Netlink attribute parsing support is select'ed if needed
187#
188config NLATTR
189 bool
190
Thomas Graf2de4ff72005-06-23 20:49:30 -0700191endmenu