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
17 define KernelPackage
/lib-crc-ccitt
/description
18 Kernel module for CRC-CCITT support
21 $(eval
$(call KernelPackage
,lib-crc-ccitt
))
24 define KernelPackage
/lib-crc-itu-t
26 TITLE
:=CRC ITU-T V
.41 support
27 KCONFIG
:=CONFIG_CRC_ITU_T
28 FILES
:=$(LINUX_DIR
)/lib
/crc-itu-t.ko
31 define KernelPackage
/lib-crc-itu-t
/description
32 Kernel module for CRC ITU-T V
.41 support
35 $(eval
$(call KernelPackage
,lib-crc-itu-t
))
38 define KernelPackage
/lib-crc7
42 FILES
:=$(LINUX_DIR
)/lib
/crc7.ko
45 define KernelPackage
/lib-crc7
/description
46 Kernel module for CRC7 support
49 $(eval
$(call KernelPackage
,lib-crc7
))
52 define KernelPackage
/lib-crc8
56 FILES
:=$(LINUX_DIR
)/lib
/crc8.ko
59 define KernelPackage
/lib-crc8
/description
60 Kernel module for CRC8 support
63 $(eval
$(call KernelPackage
,lib-crc8
))
66 define KernelPackage
/lib-crc16
70 FILES
:=$(LINUX_DIR
)/lib
/crc16.ko
73 define KernelPackage
/lib-crc16
/description
74 Kernel module for CRC16 support
77 $(eval
$(call KernelPackage
,lib-crc16
))
80 define KernelPackage
/lib-crc32c
83 KCONFIG
:=CONFIG_LIBCRC32C
84 DEPENDS
:=+kmod-crypto-crc32c
85 FILES
:=$(LINUX_DIR
)/lib
/libcrc32c.ko
88 define KernelPackage
/lib-crc32c
/description
89 Kernel module for CRC32 support
92 $(eval
$(call KernelPackage
,lib-crc32c
))
95 define KernelPackage
/lib-lzo
100 CONFIG_LZO_DECOMPRESS
102 $(LINUX_DIR
)/lib
/lzo
/lzo_compress.ko \
103 $(LINUX_DIR
)/lib
/lzo
/lzo_decompress.ko
106 define KernelPackage
/lib-lzo
/description
107 Kernel module for LZO compression
/decompression support
110 $(eval
$(call KernelPackage
,lib-lzo
))
113 define KernelPackage
/lib-raid6
115 TITLE
:=RAID6 algorithm support
117 KCONFIG
:=CONFIG_RAID6_PQ
118 FILES
:=$(LINUX_DIR
)/lib
/raid6
/raid6_pq.ko
121 define KernelPackage
/lib-raid6
/description
122 Kernel module for RAID6 algorithms
125 $(eval
$(call KernelPackage
,lib-raid6
))
128 define KernelPackage
/lib-xor
130 TITLE
:=XOR blocks algorithm support
132 KCONFIG
:=CONFIG_XOR_BLOCKS
133 FILES
:=$(LINUX_DIR
)/crypto
/xor.ko
136 define KernelPackage
/lib-xor
/description
137 Kernel module for XOR blocks algorithms
140 $(eval
$(call KernelPackage
,lib-xor
))
143 define KernelPackage
/lib-textsearch
145 TITLE
:=Textsearch support
147 CONFIG_TEXTSEARCH
=y \
148 CONFIG_TEXTSEARCH_KMP \
149 CONFIG_TEXTSEARCH_BM \
150 CONFIG_TEXTSEARCH_FSM
152 $(LINUX_DIR
)/lib
/ts_kmp.ko \
153 $(LINUX_DIR
)/lib
/ts_bm.ko \
154 $(LINUX_DIR
)/lib
/ts_fsm.ko
157 $(eval
$(call KernelPackage
,lib-textsearch
))
160 define KernelPackage
/lib-zlib
164 CONFIG_ZLIB_DEFLATE \
167 $(LINUX_DIR
)/lib
/zlib_deflate
/zlib_deflate.ko \
168 $(LINUX_DIR
)/lib
/zlib_inflate
/zlib_inflate.ko
171 $(eval
$(call KernelPackage
,lib-zlib
))
174 define KernelPackage
/lib-cordic
176 TITLE
:=Cordic function support
177 KCONFIG
:=CONFIG_CORDIC
178 FILES
:=$(LINUX_DIR
)/lib
/cordic.ko
181 define KernelPackage
/lib-cordic
/description
182 Kernel module for Cordic function support
185 $(eval
$(call KernelPackage
,lib-cordic
))