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