xref: /openbmc/linux/lib/Kconfig (revision 6408f79c)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Library routines"
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsconfig CRC_CCITT
81da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
91da177e4SLinus Torvalds	help
101da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
111da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
121da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
131da177e4SLinus Torvalds	  functions require M here.
141da177e4SLinus Torvalds
151da177e4SLinus Torvaldsconfig CRC32
161da177e4SLinus Torvalds	tristate "CRC32 functions"
171da177e4SLinus Torvalds	default y
181da177e4SLinus Torvalds	help
191da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
201da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
211da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
221da177e4SLinus Torvalds	  require M here.
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldsconfig LIBCRC32C
251da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
261da177e4SLinus Torvalds	help
271da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
281da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
291da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
301da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
311da177e4SLinus Torvalds	  Module will be libcrc32c.
321da177e4SLinus Torvalds
331da177e4SLinus Torvalds#
341da177e4SLinus Torvalds# compression support is select'ed if needed
351da177e4SLinus Torvalds#
361da177e4SLinus Torvaldsconfig ZLIB_INFLATE
371da177e4SLinus Torvalds	tristate
381da177e4SLinus Torvalds
391da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
401da177e4SLinus Torvalds	tristate
411da177e4SLinus Torvalds
421da177e4SLinus Torvalds#
43f14f75b8SJes Sorensen# Generic allocator support is selected if needed
44f14f75b8SJes Sorensen#
45f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
46f14f75b8SJes Sorensen	boolean
47f14f75b8SJes Sorensen
48f14f75b8SJes Sorensen#
491da177e4SLinus Torvalds# reed solomon support is select'ed if needed
501da177e4SLinus Torvalds#
511da177e4SLinus Torvaldsconfig REED_SOLOMON
521da177e4SLinus Torvalds	tristate
531da177e4SLinus Torvalds
541da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
551da177e4SLinus Torvalds	boolean
561da177e4SLinus Torvalds
571da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
581da177e4SLinus Torvalds	boolean
591da177e4SLinus Torvalds
601da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
611da177e4SLinus Torvalds	boolean
621da177e4SLinus Torvalds
631da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
641da177e4SLinus Torvalds	boolean
651da177e4SLinus Torvalds
662de4ff7bSThomas Grafconfig TEXTSEARCH
672de4ff7bSThomas Graf	boolean "Textsearch infrastructure"
682de4ff7bSThomas Graf	default y
692de4ff7bSThomas Graf	help
702de4ff7bSThomas Graf	  Say Y here if you want to provide a textsearch infrastructure
712de4ff7bSThomas Graf	  to other subsystems.
721da177e4SLinus Torvalds
73df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
74df3fb93aSThomas Graf	depends on TEXTSEARCH
75df3fb93aSThomas Graf	tristate "Knuth-Morris-Pratt"
76df3fb93aSThomas Graf	help
77df3fb93aSThomas Graf	  Say Y here if you want to be able to search text using the
78df3fb93aSThomas Graf	  Knuth-Morris-Pratt textsearch algorithm.
79df3fb93aSThomas Graf
80df3fb93aSThomas Graf	  To compile this code as a module, choose M here: the
81df3fb93aSThomas Graf	  module will be called ts_kmp.
82df3fb93aSThomas Graf
83*6408f79cSThomas Grafconfig TEXTSEARCH_FSM
84*6408f79cSThomas Graf	depends on TEXTSEARCH
85*6408f79cSThomas Graf	tristate "Finite state machine"
86*6408f79cSThomas Graf	help
87*6408f79cSThomas Graf	  Say Y here if you want to be able to search text using a
88*6408f79cSThomas Graf	  naive finite state machine approach implementing a subset
89*6408f79cSThomas Graf	  of regular expressions.
90*6408f79cSThomas Graf
91*6408f79cSThomas Graf	  To compile this code as a module, choose M here: the
92*6408f79cSThomas Graf	  module will be called ts_fsm.
93*6408f79cSThomas Graf
942de4ff7bSThomas Grafendmenu
95