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