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
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,crc-ccitt)
|
2011-04-12 23:18:48 +00:00
|
|
|
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
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,crc-itu-t)
|
2011-04-12 23:18:48 +00:00
|
|
|
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
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,crc7)
|
2011-04-12 23:18:48 +00:00
|
|
|
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
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,crc8)
|
2012-02-19 14:05:17 +00:00
|
|
|
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
|
2015-03-29 01:44:01 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,20,crc16,1)
|
2011-04-12 23:18:48 +00:00
|
|
|
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
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,libcrc32c)
|
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
|
2016-08-04 17:23:47 +00:00
|
|
|
HIDDEN:=1
|
2011-10-28 13:11:12 +00:00
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/lib/lzo/lzo_compress.ko \
|
|
|
|
$(LINUX_DIR)/lib/lzo/lzo_decompress.ko
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lzo_compress lzo_decompress)
|
2011-10-28 13:11:12 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-lzo/description
|
|
|
|
Kernel module for LZO compression/decompression support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-lzo))
|
|
|
|
|
|
|
|
|
2015-01-28 12:06:45 +00:00
|
|
|
define KernelPackage/lib-lz4
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=LZ4 support
|
2016-08-04 17:23:47 +00:00
|
|
|
HIDDEN:=1
|
2015-01-28 12:06:45 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_LZ4_COMPRESS \
|
|
|
|
CONFIG_LZ4_DECOMPRESS
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/lib/lz4/lz4_compress.ko \
|
|
|
|
$(LINUX_DIR)/lib/lz4/lz4_decompress.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,lz4_compress lz4_decompress)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-lz4/description
|
|
|
|
Kernel module for LZ4 compression/decompression support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-lz4))
|
|
|
|
|
|
|
|
|
2013-07-18 13:08:31 +00:00
|
|
|
define KernelPackage/lib-raid6
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=RAID6 algorithm support
|
|
|
|
HIDDEN:=1
|
|
|
|
KCONFIG:=CONFIG_RAID6_PQ
|
|
|
|
FILES:=$(LINUX_DIR)/lib/raid6/raid6_pq.ko
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,raid6_pq)
|
2013-07-18 13:08:31 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-raid6/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for RAID6 algorithms
|
2013-07-18 13:08:31 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-raid6))
|
|
|
|
|
|
|
|
|
2013-07-18 13:08:33 +00:00
|
|
|
define KernelPackage/lib-xor
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=XOR blocks algorithm support
|
|
|
|
HIDDEN:=1
|
|
|
|
KCONFIG:=CONFIG_XOR_BLOCKS
|
2014-05-02 22:56:33 +00:00
|
|
|
ifneq ($(wildcard $(LINUX_DIR)/arch/arm/lib/xor-neon.ko),)
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/crypto/xor.ko \
|
|
|
|
$(LINUX_DIR)/arch/arm/lib/xor-neon.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,xor-neon xor)
|
|
|
|
else
|
2013-07-18 13:08:33 +00:00
|
|
|
FILES:=$(LINUX_DIR)/crypto/xor.ko
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,xor)
|
2014-05-02 22:56:33 +00:00
|
|
|
endif
|
2013-07-18 13:08:33 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-xor/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for XOR blocks algorithms
|
2013-07-18 13:08:33 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-xor))
|
|
|
|
|
|
|
|
|
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
|
2013-09-30 20:48:12 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,ts_kmp ts_bm ts_fsm)
|
2011-04-12 23:18:48 +00:00
|
|
|
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
|
2016-08-04 17:23:47 +00:00
|
|
|
HIDDEN:=1
|
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
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,zlib_deflate zlib_inflate)
|
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
|
2013-10-08 15:08:33 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,cordic)
|
2012-02-19 14:05:17 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-cordic/description
|
|
|
|
Kernel module for Cordic function support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-cordic))
|