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
|
2019-03-25 14:29:06 +00:00
|
|
|
DEPENDS:=+!LINUX_4_9:kmod-crypto-acompress
|
2011-10-28 13:11:12 +00:00
|
|
|
KCONFIG:= \
|
2017-11-15 20:38:02 +00:00
|
|
|
CONFIG_CRYPTO_LZO@ge4.9 \
|
2011-10-28 13:11:12 +00:00
|
|
|
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:= \
|
2017-11-15 20:38:02 +00:00
|
|
|
$(LINUX_DIR)/crypto/lzo.ko@ge4.9 \
|
2011-10-28 13:11:12 +00:00
|
|
|
$(LINUX_DIR)/lib/lzo/lzo_compress.ko \
|
|
|
|
$(LINUX_DIR)/lib/lzo/lzo_decompress.ko
|
2017-11-15 20:38:02 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lzo@ge4.9 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))
|
|
|
|
|
|
|
|
|
2017-11-12 21:00:20 +00:00
|
|
|
define KernelPackage/lib-zstd
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=ZSTD support
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_ZSTD_COMPRESS \
|
|
|
|
CONFIG_ZSTD_DECOMPRESS \
|
|
|
|
CONFIG_XXHASH
|
|
|
|
HIDDEN:=1
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/lib/xxhash.ko \
|
|
|
|
$(LINUX_DIR)/lib/zstd/zstd_compress.ko \
|
|
|
|
$(LINUX_DIR)/lib/zstd/zstd_decompress.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,xxhash zstd_compress zstd_decompress)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/lib-zstd/description
|
|
|
|
Kernel module for ZSTD compression/decompression support
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-zstd))
|
|
|
|
|
|
|
|
|
2015-01-28 12:06:45 +00:00
|
|
|
define KernelPackage/lib-lz4
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=LZ4 support
|
2019-03-25 14:29:06 +00:00
|
|
|
DEPENDS:=+!LINUX_4_9:kmod-crypto-acompress
|
2016-08-04 17:23:47 +00:00
|
|
|
HIDDEN:=1
|
2015-01-28 12:06:45 +00:00
|
|
|
KCONFIG:= \
|
2017-11-15 20:38:02 +00:00
|
|
|
CONFIG_CRYPTO_LZ4@ge4.9 \
|
2015-01-28 12:06:45 +00:00
|
|
|
CONFIG_LZ4_COMPRESS \
|
|
|
|
CONFIG_LZ4_DECOMPRESS
|
|
|
|
FILES:= \
|
2017-11-15 20:38:02 +00:00
|
|
|
$(LINUX_DIR)/crypto/lz4.ko@ge4.9 \
|
2015-01-28 12:06:45 +00:00
|
|
|
$(LINUX_DIR)/lib/lz4/lz4_compress.ko \
|
|
|
|
$(LINUX_DIR)/lib/lz4/lz4_decompress.ko
|
2017-11-15 20:38:02 +00:00
|
|
|
AUTOLOAD:=$(call AutoProbe,lz4@ge4.9 lz4_compress lz4_decompress)
|
2015-01-28 12:06:45 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
2016-12-26 10:11:18 +00:00
|
|
|
define KernelPackage/lib-zlib-inflate
|
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
|
2016-12-26 10:11:18 +00:00
|
|
|
KCONFIG:=CONFIG_ZLIB_INFLATE
|
|
|
|
FILES:=$(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,zlib_inflate)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lib-zlib-inflate))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/lib-zlib-deflate
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=Zlib support
|
|
|
|
HIDDEN:=1
|
|
|
|
KCONFIG:=CONFIG_ZLIB_DEFLATE
|
|
|
|
FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,zlib_deflate)
|
2011-04-12 23:18:53 +00:00
|
|
|
endef
|
|
|
|
|
2016-12-26 10:11:18 +00:00
|
|
|
$(eval $(call KernelPackage,lib-zlib-deflate))
|
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))
|
2018-11-02 18:25:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/asn1-decoder
|
|
|
|
SUBMENU:=$(LIB_MENU)
|
|
|
|
TITLE:=Simple ASN1 decoder
|
|
|
|
KCONFIG:= CONFIG_ASN1
|
|
|
|
HIDDEN:=1
|
|
|
|
FILES:=$(LINUX_DIR)/lib/asn1_decoder.ko
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,asn1-decoder))
|