blob: 8ade0a7a91e09ae11e4921338d5363ee74803d05 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Library configuration
3#
4
Lai Jiangshan4370aa42009-03-06 17:21:46 +01005config BINARY_PRINTF
6 def_bool n
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008menu "Library routines"
9
Akinobu Mitaa5cfc1e2006-12-08 02:36:25 -080010config BITREVERSE
11 tristate
12
Alexander van Heukelum19870de2008-04-25 13:12:53 +020013config GENERIC_FIND_FIRST_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070014 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020015
16config GENERIC_FIND_NEXT_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070017 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020018
Rusty Russellab53d472009-01-01 10:12:19 +103019config GENERIC_FIND_LAST_BIT
20 bool
21 default y
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config CRC_CCITT
24 tristate "CRC-CCITT functions"
25 help
26 This option is provided for the case where no in-kernel-tree
27 modules require CRC-CCITT functions, but a module built outside
28 the kernel tree does. Such modules that use library CRC-CCITT
29 functions require M here.
30
Evgeniy Polyakov7657ec12005-08-17 15:17:26 +040031config CRC16
32 tristate "CRC16 functions"
33 help
34 This option is provided for the case where no in-kernel-tree
35 modules require CRC16 functions, but a module built outside
36 the kernel tree does. Such modules that use library CRC16
37 functions require M here.
38
Martin K. Petersenf11f5942008-06-25 11:22:42 -040039config CRC_T10DIF
40 tristate "CRC calculation for the T10 Data Integrity Field"
41 help
42 This option is only needed if a module that's not in the
43 kernel tree needs to calculate CRC checks for use with the
44 SCSI data integrity subsystem.
45
Ivo van Doorn3e7cbae2006-06-12 16:17:04 +020046config CRC_ITU_T
47 tristate "CRC ITU-T V.41 functions"
48 help
49 This option is provided for the case where no in-kernel-tree
50 modules require CRC ITU-T V.41 functions, but a module built outside
51 the kernel tree does. Such modules that use library CRC ITU-T V.41
52 functions require M here.
53
Linus Torvalds1da177e2005-04-16 15:20:36 -070054config CRC32
55 tristate "CRC32 functions"
56 default y
Akinobu Mita906d66d2006-12-08 02:36:25 -080057 select BITREVERSE
Linus Torvalds1da177e2005-04-16 15:20:36 -070058 help
59 This option is provided for the case where no in-kernel-tree
60 modules require CRC32 functions, but a module built outside the
61 kernel tree does. Such modules that use library CRC32 functions
62 require M here.
63
Jan Nikitenkoad241522007-07-17 04:04:03 -070064config CRC7
65 tristate "CRC7 functions"
66 help
67 This option is provided for the case where no in-kernel-tree
68 modules require CRC7 functions, but a module built outside
69 the kernel tree does. Such modules that use library CRC7
70 functions require M here.
71
Linus Torvalds1da177e2005-04-16 15:20:36 -070072config LIBCRC32C
73 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
Herbert Xu93027352008-11-13 22:05:13 +080074 select CRYPTO
Herbert Xu69c35ef2008-11-07 15:11:47 +080075 select CRYPTO_CRC32C
Linus Torvalds1da177e2005-04-16 15:20:36 -070076 help
77 This option is provided for the case where no in-kernel-tree
78 modules require CRC32c functions, but a module built outside the
79 kernel tree does. Such modules that use library CRC32c functions
80 require M here. See Castagnoli93.
81 Module will be libcrc32c.
82
Al Viroe65e1fc2006-09-12 03:04:40 -040083config AUDIT_GENERIC
84 bool
85 depends on AUDIT && !AUDIT_ARCH
86 default y
87
Linus Torvalds1da177e2005-04-16 15:20:36 -070088#
89# compression support is select'ed if needed
90#
91config ZLIB_INFLATE
92 tristate
93
94config ZLIB_DEFLATE
95 tristate
96
Richard Purdie64c70b12007-07-10 17:22:24 -070097config LZO_COMPRESS
98 tristate
99
100config LZO_DECOMPRESS
101 tristate
102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103#
H. Peter Anvinc8531ab2009-01-05 13:48:31 -0800104# These all provide a common interface (hence the apparent duplication with
105# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
106#
107config DECOMPRESS_GZIP
H. Peter Anvin7856a16e2009-01-07 00:01:43 -0800108 select ZLIB_INFLATE
H. Peter Anvinc8531ab2009-01-05 13:48:31 -0800109 tristate
110
111config DECOMPRESS_BZIP2
112 tristate
113
114config DECOMPRESS_LZMA
115 tristate
116
117#
Jes Sorensenf14f75b2005-06-21 17:15:02 -0700118# Generic allocator support is selected if needed
119#
120config GENERIC_ALLOCATOR
121 boolean
122
123#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124# reed solomon support is select'ed if needed
125#
126config REED_SOLOMON
127 tristate
128
129config REED_SOLOMON_ENC8
130 boolean
131
132config REED_SOLOMON_DEC8
133 boolean
134
135config REED_SOLOMON_ENC16
136 boolean
137
138config REED_SOLOMON_DEC16
139 boolean
140
David S. Millerf7704342005-06-24 17:39:03 -0700141#
142# Textsearch support is select'ed if needed
143#
Thomas Graf2de4ff72005-06-23 20:49:30 -0700144config TEXTSEARCH
David S. Millerf7704342005-06-24 17:39:03 -0700145 boolean
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146
Thomas Grafdf3fb932005-06-23 20:58:37 -0700147config TEXTSEARCH_KMP
David S. Millerf7704342005-06-24 17:39:03 -0700148 tristate
Thomas Grafdf3fb932005-06-23 20:58:37 -0700149
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700150config TEXTSEARCH_BM
David S. Miller29cb9f92005-08-25 16:23:11 -0700151 tristate
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700152
Thomas Graf6408f792005-06-23 20:59:16 -0700153config TEXTSEARCH_FSM
David S. Millerf7704342005-06-24 17:39:03 -0700154 tristate
Thomas Graf6408f792005-06-23 20:59:16 -0700155
Al Viro5ea81762007-02-11 15:41:31 +0000156config HAS_IOMEM
Al Viroee36c2b2006-12-13 00:35:00 -0800157 boolean
Al Viro5ea81762007-02-11 15:41:31 +0000158 depends on !NO_IOMEM
159 default y
160
161config HAS_IOPORT
162 boolean
163 depends on HAS_IOMEM && !NO_IOPORT
Al Viroee36c2b2006-12-13 00:35:00 -0800164 default y
165
Heiko Carstens411f0f32007-05-06 14:49:09 -0700166config HAS_DMA
167 boolean
168 depends on !NO_DMA
169 default y
170
Geert Uytterhoeven928923c2007-08-22 14:01:36 -0700171config CHECK_SIGNATURE
172 bool
173
David S. Millerd9b2b2a2008-02-13 16:56:49 -0800174config HAVE_LMB
175 boolean
176
Rusty Russellaab46da2008-12-13 21:20:27 +1030177config CPUMASK_OFFSTACK
178 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
179 help
180 Use dynamic allocation for cpumask_var_t, instead of putting
181 them on the stack. This is a bit more expensive, but avoids
182 stack overflow.
183
Rusty Russell8c384cd2009-01-01 10:12:30 +1030184config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
185 bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
186 depends on EXPERIMENTAL && BROKEN
187
Geert Uytterhoevene9cc8bd2009-03-04 14:53:30 +0800188#
189# Netlink attribute parsing support is select'ed if needed
190#
191config NLATTR
192 bool
193
Thomas Graf2de4ff72005-06-23 20:49:30 -0700194endmenu