2011-04-12 23:18:48 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2011 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
LIB_MENU:=Libraries
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc-ccitt
|
2011-04-12 23:18:48 +00:00
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=CRC-CCITT support
|
|
|
|
KCONFIG:=CONFIG_CRC_CCITT
|
|
|
|
FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc-ccitt/description
|
2011-04-12 23:18:48 +00:00
|
|
|
Kernel module for CRC-CCITT support
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
$(eval $(call KernelPackage,lib-crc-ccitt))
|
2011-04-12 23:18:48 +00:00
|
|
|
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc-itu-t
|
2011-04-12 23:18:48 +00:00
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=CRC ITU-T V.41 support
|
|
|
|
KCONFIG:=CONFIG_CRC_ITU_T
|
|
|
|
FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc-itu-t/description
|
2011-04-12 23:18:48 +00:00
|
|
|
Kernel module for CRC ITU-T V.41 support
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
$(eval $(call KernelPackage,lib-crc-itu-t))
|
2011-04-12 23:18:48 +00:00
|
|
|
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc7
|
2011-04-12 23:18:48 +00:00
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=CRC7 support
|
|
|
|
KCONFIG:=CONFIG_CRC7
|
|
|
|
FILES:=$(LINUX_DIR)/lib/crc7.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,20,crc7)
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc7/description
|
2011-04-12 23:18:48 +00:00
|
|
|
Kernel module for CRC7 support
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
$(eval $(call KernelPackage,lib-crc7))
|
2011-04-12 23:18:48 +00:00
|
|
|
|
|
|
|
|
2012-02-19 14:05:17 +00:00
|
|
|
define KernelPackage/lib-crc8
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=CRC8 support
|
|
|
|
KCONFIG:=CONFIG_CRC8
|
|
|
|
FILES:=$(LINUX_DIR)/lib/crc8.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,20,crc8)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-crc8/description
|
|
|
|
Kernel module for CRC8 support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-crc8))
|
|
|
|
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc16
|
2011-04-12 23:18:48 +00:00
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=CRC16 support
|
|
|
|
KCONFIG:=CONFIG_CRC16
|
|
|
|
FILES:=$(LINUX_DIR)/lib/crc16.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,20,crc16,1)
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc16/description
|
2011-04-12 23:18:48 +00:00
|
|
|
Kernel module for CRC16 support
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
$(eval $(call KernelPackage,lib-crc16))
|
2011-04-12 23:18:48 +00:00
|
|
|
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc32c
|
2011-04-12 23:18:48 +00:00
|
|
|
SUBMENU:=$(LIB_MENU)
|
2011-10-28 13:24:41 +00:00
|
|
|
TITLE:=CRC32 support
|
2011-04-12 23:18:48 +00:00
|
|
|
KCONFIG:=CONFIG_LIBCRC32C
|
2011-10-28 13:11:01 +00:00
|
|
|
DEPENDS:=+kmod-crypto-crc32c
|
2011-04-12 23:18:48 +00:00
|
|
|
FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
|
2011-10-28 13:11:01 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,20,libcrc32c,1)
|
2011-04-12 23:18:48 +00:00
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-crc32c/description
|
2011-04-12 23:18:48 +00:00
|
|
|
Kernel module for CRC32 support
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
$(eval $(call KernelPackage,lib-crc32c))
|
2011-04-12 23:18:48 +00:00
|
|
|
|
|
|
|
|
2011-10-28 13:11:12 +00:00
|
|
|
define KernelPackage/lib-lzo
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
2011-10-28 13:24:41 +00:00
|
|
|
TITLE:=LZO support
|
2011-10-28 13:11:12 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_LZO_COMPRESS \
|
|
|
|
CONFIG_LZO_DECOMPRESS
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/lib/lzo/lzo_compress.ko \
|
|
|
|
$(LINUX_DIR)/lib/lzo/lzo_decompress.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,20, lzo_compress lzo_decompress,1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-lzo/description
|
|
|
|
Kernel module for LZO compression/decompression support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-lzo))
|
|
|
|
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-textsearch
|
2011-04-12 23:18:48 +00:00
|
|
|
SUBMENU:=$(LIB_MENU)
|
2011-10-28 13:24:41 +00:00
|
|
|
TITLE:=Textsearch support
|
2011-04-12 23:18:48 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_TEXTSEARCH=y \
|
|
|
|
CONFIG_TEXTSEARCH_KMP \
|
|
|
|
CONFIG_TEXTSEARCH_BM \
|
|
|
|
CONFIG_TEXTSEARCH_FSM
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/lib/ts_kmp.ko \
|
|
|
|
$(LINUX_DIR)/lib/ts_bm.ko \
|
|
|
|
$(LINUX_DIR)/lib/ts_fsm.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
|
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
$(eval $(call KernelPackage,lib-textsearch))
|
2011-04-12 23:18:53 +00:00
|
|
|
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
define KernelPackage/lib-zlib
|
2011-04-12 23:18:53 +00:00
|
|
|
SUBMENU:=$(LIB_MENU)
|
2011-10-28 13:24:41 +00:00
|
|
|
TITLE:=Zlib support
|
2012-06-18 23:59:57 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_ZLIB_DEFLATE \
|
|
|
|
CONFIG_ZLIB_INFLATE
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko \
|
|
|
|
$(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,08,zlib_deflate zlib_inflate,1)
|
2011-04-12 23:18:53 +00:00
|
|
|
endef
|
|
|
|
|
2011-10-28 13:24:41 +00:00
|
|
|
$(eval $(call KernelPackage,lib-zlib))
|
2012-02-19 14:05:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/lib-cordic
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=Cordic function support
|
|
|
|
KCONFIG:=CONFIG_CORDIC
|
|
|
|
FILES:=$(LINUX_DIR)/lib/cordic.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,20,cordic)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-cordic/description
|
|
|
|
Kernel module for Cordic function support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-cordic))
|