xref: /linux/lib/Kconfig (revision f30828a6745281edda735f642b5f814e1123ecd3)
1#
2# Library configuration
3#
4
5menu "Library routines"
6
7config BITREVERSE
8	tristate
9
10config GENERIC_FIND_FIRST_BIT
11	def_bool n
12
13config GENERIC_FIND_NEXT_BIT
14	def_bool n
15
16config CRC_CCITT
17	tristate "CRC-CCITT functions"
18	help
19	  This option is provided for the case where no in-kernel-tree
20	  modules require CRC-CCITT functions, but a module built outside
21	  the kernel tree does. Such modules that use library CRC-CCITT
22	  functions require M here.
23
24config CRC16
25	tristate "CRC16 functions"
26	help
27	  This option is provided for the case where no in-kernel-tree
28	  modules require CRC16 functions, but a module built outside
29	  the kernel tree does. Such modules that use library CRC16
30	  functions require M here.
31
32config CRC_T10DIF
33	tristate "CRC calculation for the T10 Data Integrity Field"
34	help
35	  This option is only needed if a module that's not in the
36	  kernel tree needs to calculate CRC checks for use with the
37	  SCSI data integrity subsystem.
38
39config CRC_ITU_T
40	tristate "CRC ITU-T V.41 functions"
41	help
42	  This option is provided for the case where no in-kernel-tree
43	  modules require CRC ITU-T V.41 functions, but a module built outside
44	  the kernel tree does. Such modules that use library CRC ITU-T V.41
45	  functions require M here.
46
47config CRC32
48	tristate "CRC32 functions"
49	default y
50	select BITREVERSE
51	help
52	  This option is provided for the case where no in-kernel-tree
53	  modules require CRC32 functions, but a module built outside the
54	  kernel tree does. Such modules that use library CRC32 functions
55	  require M here.
56
57config CRC7
58	tristate "CRC7 functions"
59	help
60	  This option is provided for the case where no in-kernel-tree
61	  modules require CRC7 functions, but a module built outside
62	  the kernel tree does. Such modules that use library CRC7
63	  functions require M here.
64
65config LIBCRC32C
66	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
67	help
68	  This option is provided for the case where no in-kernel-tree
69	  modules require CRC32c functions, but a module built outside the
70	  kernel tree does. Such modules that use library CRC32c functions
71	  require M here.  See Castagnoli93.
72	  Module will be libcrc32c.
73
74config AUDIT_GENERIC
75	bool
76	depends on AUDIT && !AUDIT_ARCH
77	default y
78
79#
80# compression support is select'ed if needed
81#
82config ZLIB_INFLATE
83	tristate
84
85config ZLIB_DEFLATE
86	tristate
87
88config LZO_COMPRESS
89	tristate
90
91config LZO_DECOMPRESS
92	tristate
93
94#
95# Generic allocator support is selected if needed
96#
97config GENERIC_ALLOCATOR
98	boolean
99
100#
101# reed solomon support is select'ed if needed
102#
103config REED_SOLOMON
104	tristate
105
106config REED_SOLOMON_ENC8
107	boolean
108
109config REED_SOLOMON_DEC8
110	boolean
111
112config REED_SOLOMON_ENC16
113	boolean
114
115config REED_SOLOMON_DEC16
116	boolean
117
118#
119# Textsearch support is select'ed if needed
120#
121config TEXTSEARCH
122	boolean
123
124config TEXTSEARCH_KMP
125	tristate
126
127config TEXTSEARCH_BM
128	tristate
129
130config TEXTSEARCH_FSM
131	tristate
132
133#
134# plist support is select#ed if needed
135#
136config PLIST
137	boolean
138
139config HAS_IOMEM
140	boolean
141	depends on !NO_IOMEM
142	default y
143
144config HAS_IOPORT
145	boolean
146	depends on HAS_IOMEM && !NO_IOPORT
147	default y
148
149config HAS_DMA
150	boolean
151	depends on !NO_DMA
152	default y
153
154config CHECK_SIGNATURE
155	bool
156
157config HAVE_LMB
158	boolean
159
160endmenu
161