2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 define KernelPackage/lib-crc-ccitt
12 TITLE:=CRC-CCITT support
13 KCONFIG:=CONFIG_CRC_CCITT
14 FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
15 AUTOLOAD:=$(call AutoProbe,crc-ccitt)
18 define KernelPackage/lib-crc-ccitt/description
19 Kernel module for CRC-CCITT support
22 $(eval $(call KernelPackage,lib-crc-ccitt))
25 define KernelPackage/lib-crc-itu-t
27 TITLE:=CRC ITU-T V.41 support
28 KCONFIG:=CONFIG_CRC_ITU_T
29 FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
30 AUTOLOAD:=$(call AutoProbe,crc-itu-t)
33 define KernelPackage/lib-crc-itu-t/description
34 Kernel module for CRC ITU-T V.41 support
37 $(eval $(call KernelPackage,lib-crc-itu-t))
40 define KernelPackage/lib-crc7
44 FILES:=$(LINUX_DIR)/lib/crc7.ko
45 AUTOLOAD:=$(call AutoProbe,crc7)
48 define KernelPackage/lib-crc7/description
49 Kernel module for CRC7 support
52 $(eval $(call KernelPackage,lib-crc7))
55 define KernelPackage/lib-crc8
59 FILES:=$(LINUX_DIR)/lib/crc8.ko
60 AUTOLOAD:=$(call AutoProbe,crc8)
63 define KernelPackage/lib-crc8/description
64 Kernel module for CRC8 support
67 $(eval $(call KernelPackage,lib-crc8))
70 define KernelPackage/lib-crc16
74 FILES:=$(LINUX_DIR)/lib/crc16.ko
75 AUTOLOAD:=$(call AutoProbe,crc16)
78 define KernelPackage/lib-crc16/description
79 Kernel module for CRC16 support
82 $(eval $(call KernelPackage,lib-crc16))
85 define KernelPackage/lib-crc32c
88 KCONFIG:=CONFIG_LIBCRC32C
89 DEPENDS:=+kmod-crypto-crc32c
90 FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
91 AUTOLOAD:=$(call AutoProbe,libcrc32c)
94 define KernelPackage/lib-crc32c/description
95 Kernel module for CRC32 support
98 $(eval $(call KernelPackage,lib-crc32c))
101 define KernelPackage/lib-lzo
105 CONFIG_LZO_COMPRESS \
106 CONFIG_LZO_DECOMPRESS
108 $(LINUX_DIR)/lib/lzo/lzo_compress.ko \
109 $(LINUX_DIR)/lib/lzo/lzo_decompress.ko
110 AUTOLOAD:=$(call AutoProbe,lzo_compress lzo_decompress)
113 define KernelPackage/lib-lzo/description
114 Kernel module for LZO compression/decompression support
117 $(eval $(call KernelPackage,lib-lzo))
120 define KernelPackage/lib-raid6
122 TITLE:=RAID6 algorithm support
124 KCONFIG:=CONFIG_RAID6_PQ
125 FILES:=$(LINUX_DIR)/lib/raid6/raid6_pq.ko
126 AUTOLOAD:=$(call AutoProbe,raid6_pq)
129 define KernelPackage/lib-raid6/description
130 Kernel module for RAID6 algorithms
133 $(eval $(call KernelPackage,lib-raid6))
136 define KernelPackage/lib-xor
138 TITLE:=XOR blocks algorithm support
140 KCONFIG:=CONFIG_XOR_BLOCKS
141 FILES:=$(LINUX_DIR)/crypto/xor.ko
142 AUTOLOAD:=$(call AutoProbe,xor)
145 define KernelPackage/lib-xor/description
146 Kernel module for XOR blocks algorithms
149 $(eval $(call KernelPackage,lib-xor))
152 define KernelPackage/lib-textsearch
154 TITLE:=Textsearch support
156 CONFIG_TEXTSEARCH=y \
157 CONFIG_TEXTSEARCH_KMP \
158 CONFIG_TEXTSEARCH_BM \
159 CONFIG_TEXTSEARCH_FSM
161 $(LINUX_DIR)/lib/ts_kmp.ko \
162 $(LINUX_DIR)/lib/ts_bm.ko \
163 $(LINUX_DIR)/lib/ts_fsm.ko
164 AUTOLOAD:=$(call AutoProbe,ts_kmp ts_bm ts_fsm)
167 $(eval $(call KernelPackage,lib-textsearch))
170 define KernelPackage/lib-zlib
174 CONFIG_ZLIB_DEFLATE \
177 $(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko \
178 $(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko
179 AUTOLOAD:=$(call AutoProbe,zlib_deflate zlib_inflate)
182 $(eval $(call KernelPackage,lib-zlib))
185 define KernelPackage/lib-cordic
187 TITLE:=Cordic function support
188 KCONFIG:=CONFIG_CORDIC
189 FILES:=$(LINUX_DIR)/lib/cordic.ko
190 AUTOLOAD:=$(call AutoProbe,cordic)
193 define KernelPackage/lib-cordic/description
194 Kernel module for Cordic function support
197 $(eval $(call KernelPackage,lib-cordic))