xref: /openbmc/linux/lib/Kconfig (revision 22246614)
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_ITU_T
33	tristate "CRC ITU-T V.41 functions"
34	help
35	  This option is provided for the case where no in-kernel-tree
36	  modules require CRC ITU-T V.41 functions, but a module built outside
37	  the kernel tree does. Such modules that use library CRC ITU-T V.41
38	  functions require M here.
39
40config CRC32
41	tristate "CRC32 functions"
42	default y
43	select BITREVERSE
44	help
45	  This option is provided for the case where no in-kernel-tree
46	  modules require CRC32 functions, but a module built outside the
47	  kernel tree does. Such modules that use library CRC32 functions
48	  require M here.
49
50config CRC7
51	tristate "CRC7 functions"
52	help
53	  This option is provided for the case where no in-kernel-tree
54	  modules require CRC7 functions, but a module built outside
55	  the kernel tree does. Such modules that use library CRC7
56	  functions require M here.
57
58config LIBCRC32C
59	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
60	help
61	  This option is provided for the case where no in-kernel-tree
62	  modules require CRC32c functions, but a module built outside the
63	  kernel tree does. Such modules that use library CRC32c functions
64	  require M here.  See Castagnoli93.
65	  Module will be libcrc32c.
66
67config AUDIT_GENERIC
68	bool
69	depends on AUDIT && !AUDIT_ARCH
70	default y
71
72#
73# compression support is select'ed if needed
74#
75config ZLIB_INFLATE
76	tristate
77
78config ZLIB_DEFLATE
79	tristate
80
81config LZO_COMPRESS
82	tristate
83
84config LZO_DECOMPRESS
85	tristate
86
87#
88# Generic allocator support is selected if needed
89#
90config GENERIC_ALLOCATOR
91	boolean
92
93#
94# reed solomon support is select'ed if needed
95#
96config REED_SOLOMON
97	tristate
98
99config REED_SOLOMON_ENC8
100	boolean
101
102config REED_SOLOMON_DEC8
103	boolean
104
105config REED_SOLOMON_ENC16
106	boolean
107
108config REED_SOLOMON_DEC16
109	boolean
110
111#
112# Textsearch support is select'ed if needed
113#
114config TEXTSEARCH
115	boolean
116
117config TEXTSEARCH_KMP
118	tristate
119
120config TEXTSEARCH_BM
121	tristate
122
123config TEXTSEARCH_FSM
124	tristate
125
126#
127# plist support is select#ed if needed
128#
129config PLIST
130	boolean
131
132config HAS_IOMEM
133	boolean
134	depends on !NO_IOMEM
135	default y
136
137config HAS_IOPORT
138	boolean
139	depends on HAS_IOMEM && !NO_IOPORT
140	default y
141
142config HAS_DMA
143	boolean
144	depends on !NO_DMA
145	default y
146
147config CHECK_SIGNATURE
148	bool
149
150config HAVE_LMB
151	boolean
152
153endmenu
154