xref: /linux/lib/Kconfig (revision c537b994505099b7197e7d3125b942ecbcc51eb6)
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 CRC32
27	tristate "CRC32 functions"
28	default y
29	select BITREVERSE
30	help
31	  This option is provided for the case where no in-kernel-tree
32	  modules require CRC32 functions, but a module built outside the
33	  kernel tree does. Such modules that use library CRC32 functions
34	  require M here.
35
36config LIBCRC32C
37	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
38	help
39	  This option is provided for the case where no in-kernel-tree
40	  modules require CRC32c functions, but a module built outside the
41	  kernel tree does. Such modules that use library CRC32c functions
42	  require M here.  See Castagnoli93.
43	  Module will be libcrc32c.
44
45config AUDIT_GENERIC
46	bool
47	depends on AUDIT && !AUDIT_ARCH
48	default y
49
50#
51# compression support is select'ed if needed
52#
53config ZLIB_INFLATE
54	tristate
55
56config ZLIB_DEFLATE
57	tristate
58
59#
60# Generic allocator support is selected if needed
61#
62config GENERIC_ALLOCATOR
63	boolean
64
65#
66# reed solomon support is select'ed if needed
67#
68config REED_SOLOMON
69	tristate
70
71config REED_SOLOMON_ENC8
72	boolean
73
74config REED_SOLOMON_DEC8
75	boolean
76
77config REED_SOLOMON_ENC16
78	boolean
79
80config REED_SOLOMON_DEC16
81	boolean
82
83#
84# Textsearch support is select'ed if needed
85#
86config TEXTSEARCH
87	boolean
88
89config TEXTSEARCH_KMP
90	tristate
91
92config TEXTSEARCH_BM
93	tristate
94
95config TEXTSEARCH_FSM
96	tristate
97
98#
99# plist support is select#ed if needed
100#
101config PLIST
102	boolean
103
104config HAS_IOMEM
105	boolean
106	depends on !NO_IOMEM
107	default y
108
109config HAS_IOPORT
110	boolean
111	depends on HAS_IOMEM && !NO_IOPORT
112	default y
113
114endmenu
115