xref: /openbmc/linux/lib/Kconfig (revision 906d66df)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Library routines"
61da177e4SLinus Torvalds
7a5cfc1ecSAkinobu Mitaconfig BITREVERSE
8a5cfc1ecSAkinobu Mita	tristate
9a5cfc1ecSAkinobu Mita
101da177e4SLinus Torvaldsconfig CRC_CCITT
111da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
121da177e4SLinus Torvalds	help
131da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
141da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
151da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
161da177e4SLinus Torvalds	  functions require M here.
171da177e4SLinus Torvalds
187657ec1fSEvgeniy Polyakovconfig CRC16
197657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
207657ec1fSEvgeniy Polyakov	help
217657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
227657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
237657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
247657ec1fSEvgeniy Polyakov	  functions require M here.
257657ec1fSEvgeniy Polyakov
261da177e4SLinus Torvaldsconfig CRC32
271da177e4SLinus Torvalds	tristate "CRC32 functions"
281da177e4SLinus Torvalds	default y
29*906d66dfSAkinobu Mita	select BITREVERSE
301da177e4SLinus Torvalds	help
311da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
321da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
331da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
341da177e4SLinus Torvalds	  require M here.
351da177e4SLinus Torvalds
361da177e4SLinus Torvaldsconfig LIBCRC32C
371da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
381da177e4SLinus Torvalds	help
391da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
401da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
411da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
421da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
431da177e4SLinus Torvalds	  Module will be libcrc32c.
441da177e4SLinus Torvalds
45e65e1fc2SAl Viroconfig AUDIT_GENERIC
46e65e1fc2SAl Viro	bool
47e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
48e65e1fc2SAl Viro	default y
49e65e1fc2SAl Viro
501da177e4SLinus Torvalds#
511da177e4SLinus Torvalds# compression support is select'ed if needed
521da177e4SLinus Torvalds#
531da177e4SLinus Torvaldsconfig ZLIB_INFLATE
541da177e4SLinus Torvalds	tristate
551da177e4SLinus Torvalds
561da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
571da177e4SLinus Torvalds	tristate
581da177e4SLinus Torvalds
591da177e4SLinus Torvalds#
60f14f75b8SJes Sorensen# Generic allocator support is selected if needed
61f14f75b8SJes Sorensen#
62f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
63f14f75b8SJes Sorensen	boolean
64f14f75b8SJes Sorensen
65f14f75b8SJes Sorensen#
661da177e4SLinus Torvalds# reed solomon support is select'ed if needed
671da177e4SLinus Torvalds#
681da177e4SLinus Torvaldsconfig REED_SOLOMON
691da177e4SLinus Torvalds	tristate
701da177e4SLinus Torvalds
711da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
721da177e4SLinus Torvalds	boolean
731da177e4SLinus Torvalds
741da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
751da177e4SLinus Torvalds	boolean
761da177e4SLinus Torvalds
771da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
781da177e4SLinus Torvalds	boolean
791da177e4SLinus Torvalds
801da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
811da177e4SLinus Torvalds	boolean
821da177e4SLinus Torvalds
83f7704347SDavid S. Miller#
84f7704347SDavid S. Miller# Textsearch support is select'ed if needed
85f7704347SDavid S. Miller#
862de4ff7bSThomas Grafconfig TEXTSEARCH
87f7704347SDavid S. Miller	boolean
881da177e4SLinus Torvalds
89df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
90f7704347SDavid S. Miller	tristate
91df3fb93aSThomas Graf
928082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
9329cb9f9cSDavid S. Miller	tristate
948082e4edSPablo Neira Ayuso
956408f79cSThomas Grafconfig TEXTSEARCH_FSM
96f7704347SDavid S. Miller	tristate
976408f79cSThomas Graf
9877ba89c5SIngo Molnar#
9977ba89c5SIngo Molnar# plist support is select#ed if needed
10077ba89c5SIngo Molnar#
10177ba89c5SIngo Molnarconfig PLIST
10277ba89c5SIngo Molnar	boolean
10377ba89c5SIngo Molnar
1042de4ff7bSThomas Grafendmenu
105