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 AutoLoad
,20,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 AutoLoad
,20,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 AutoLoad
,20,crc7
)
48 define KernelPackage
/lib-crc7
/description
49 Kernel module for CRC7 support
52 $(eval
$(call KernelPackage
,lib-crc7
))
55 define KernelPackage
/lib-crc16
59 FILES
:=$(LINUX_DIR
)/lib
/crc16.ko
60 AUTOLOAD
:=$(call AutoLoad
,20,crc16
,1)
63 define KernelPackage
/lib-crc16
/description
64 Kernel module for CRC16 support
67 $(eval
$(call KernelPackage
,lib-crc16
))
70 define KernelPackage
/lib-crc32c
73 KCONFIG
:=CONFIG_LIBCRC32C
74 DEPENDS
:=+kmod-crypto-crc32c
75 FILES
:=$(LINUX_DIR
)/lib
/libcrc32c.ko
76 AUTOLOAD
:=$(call AutoLoad
,20,libcrc32c
,1)
79 define KernelPackage
/lib-crc32c
/description
80 Kernel module for CRC32 support
83 $(eval
$(call KernelPackage
,lib-crc32c
))
86 define KernelPackage
/lib-lzo
93 $(LINUX_DIR
)/lib
/lzo
/lzo_compress.ko \
94 $(LINUX_DIR
)/lib
/lzo
/lzo_decompress.ko
95 AUTOLOAD
:=$(call AutoLoad
,20, lzo_compress lzo_decompress
,1)
98 define KernelPackage
/lib-lzo
/description
99 Kernel module for LZO compression
/decompression support
102 $(eval
$(call KernelPackage
,lib-lzo
))
105 define KernelPackage
/lib-textsearch
107 TITLE
:=Textsearch support
109 CONFIG_TEXTSEARCH
=y \
110 CONFIG_TEXTSEARCH_KMP \
111 CONFIG_TEXTSEARCH_BM \
112 CONFIG_TEXTSEARCH_FSM
114 $(LINUX_DIR
)/lib
/ts_kmp.ko \
115 $(LINUX_DIR
)/lib
/ts_bm.ko \
116 $(LINUX_DIR
)/lib
/ts_fsm.ko
117 AUTOLOAD
:=$(call AutoLoad
,20,ts_kmp ts_bm ts_fsm
)
120 $(eval
$(call KernelPackage
,lib-textsearch
))
123 define KernelPackage
/lib-zlib
126 KCONFIG
:=CONFIG_ZLIB_DEFLATE
127 FILES
:=$(LINUX_DIR
)/lib
/zlib_deflate
/zlib_deflate.ko
128 AUTOLOAD
:=$(call AutoLoad
,08,zlib_deflate
,1)
131 $(eval
$(call KernelPackage
,lib-zlib
))