xref: /linux/lib/Kconfig (revision 928923c76b393e38e5ba1d47e843e208ceef6cf9)
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
263e7cbae7SIvo van Doornconfig CRC_ITU_T
273e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
283e7cbae7SIvo van Doorn	help
293e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
303e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
313e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
323e7cbae7SIvo van Doorn	  functions require M here.
333e7cbae7SIvo van Doorn
341da177e4SLinus Torvaldsconfig CRC32
351da177e4SLinus Torvalds	tristate "CRC32 functions"
361da177e4SLinus Torvalds	default y
37906d66dfSAkinobu Mita	select BITREVERSE
381da177e4SLinus Torvalds	help
391da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
401da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
411da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
421da177e4SLinus Torvalds	  require M here.
431da177e4SLinus Torvalds
44ad241528SJan Nikitenkoconfig CRC7
45ad241528SJan Nikitenko	tristate "CRC7 functions"
46ad241528SJan Nikitenko	help
47ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
48ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
49ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
50ad241528SJan Nikitenko	  functions require M here.
51ad241528SJan Nikitenko
521da177e4SLinus Torvaldsconfig LIBCRC32C
531da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
541da177e4SLinus Torvalds	help
551da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
561da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
571da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
581da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
591da177e4SLinus Torvalds	  Module will be libcrc32c.
601da177e4SLinus Torvalds
61e65e1fc2SAl Viroconfig AUDIT_GENERIC
62e65e1fc2SAl Viro	bool
63e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
64e65e1fc2SAl Viro	default y
65e65e1fc2SAl Viro
661da177e4SLinus Torvalds#
671da177e4SLinus Torvalds# compression support is select'ed if needed
681da177e4SLinus Torvalds#
691da177e4SLinus Torvaldsconfig ZLIB_INFLATE
701da177e4SLinus Torvalds	tristate
711da177e4SLinus Torvalds
721da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
731da177e4SLinus Torvalds	tristate
741da177e4SLinus Torvalds
7564c70b1cSRichard Purdieconfig LZO_COMPRESS
7664c70b1cSRichard Purdie	tristate
7764c70b1cSRichard Purdie
7864c70b1cSRichard Purdieconfig LZO_DECOMPRESS
7964c70b1cSRichard Purdie	tristate
8064c70b1cSRichard Purdie
811da177e4SLinus Torvalds#
82f14f75b8SJes Sorensen# Generic allocator support is selected if needed
83f14f75b8SJes Sorensen#
84f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
85f14f75b8SJes Sorensen	boolean
86f14f75b8SJes Sorensen
87f14f75b8SJes Sorensen#
881da177e4SLinus Torvalds# reed solomon support is select'ed if needed
891da177e4SLinus Torvalds#
901da177e4SLinus Torvaldsconfig REED_SOLOMON
911da177e4SLinus Torvalds	tristate
921da177e4SLinus Torvalds
931da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
941da177e4SLinus Torvalds	boolean
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
971da177e4SLinus Torvalds	boolean
981da177e4SLinus Torvalds
991da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
1001da177e4SLinus Torvalds	boolean
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
1031da177e4SLinus Torvalds	boolean
1041da177e4SLinus Torvalds
105f7704347SDavid S. Miller#
106f7704347SDavid S. Miller# Textsearch support is select'ed if needed
107f7704347SDavid S. Miller#
1082de4ff7bSThomas Grafconfig TEXTSEARCH
109f7704347SDavid S. Miller	boolean
1101da177e4SLinus Torvalds
111df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
112f7704347SDavid S. Miller	tristate
113df3fb93aSThomas Graf
1148082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
11529cb9f9cSDavid S. Miller	tristate
1168082e4edSPablo Neira Ayuso
1176408f79cSThomas Grafconfig TEXTSEARCH_FSM
118f7704347SDavid S. Miller	tristate
1196408f79cSThomas Graf
12077ba89c5SIngo Molnar#
12177ba89c5SIngo Molnar# plist support is select#ed if needed
12277ba89c5SIngo Molnar#
12377ba89c5SIngo Molnarconfig PLIST
12477ba89c5SIngo Molnar	boolean
12577ba89c5SIngo Molnar
1265ea81769SAl Viroconfig HAS_IOMEM
127ee36c2bfSAl Viro	boolean
1285ea81769SAl Viro	depends on !NO_IOMEM
1295ea81769SAl Viro	default y
1305ea81769SAl Viro
1315ea81769SAl Viroconfig HAS_IOPORT
1325ea81769SAl Viro	boolean
1335ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
134ee36c2bfSAl Viro	default y
135ee36c2bfSAl Viro
136411f0f3eSHeiko Carstensconfig HAS_DMA
137411f0f3eSHeiko Carstens	boolean
138411f0f3eSHeiko Carstens	depends on !NO_DMA
139411f0f3eSHeiko Carstens	default y
140411f0f3eSHeiko Carstens
141*928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
142*928923c7SGeert Uytterhoeven	bool
143*928923c7SGeert Uytterhoeven
1442de4ff7bSThomas Grafendmenu
145