diff options
author | John Crispin <john@openwrt.org> | 2015-01-28 12:06:45 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-01-28 12:06:45 +0000 |
commit | 494b980f69a44daa78ce41ca722529823a597427 (patch) | |
tree | 07fa2a7f5c14553c868eeb43a160c619c581591d /package/kernel | |
parent | dcac85d7d8e5e5805868c043df02c368a85b8810 (diff) | |
download | mtk-20170518-494b980f69a44daa78ce41ca722529823a597427.zip mtk-20170518-494b980f69a44daa78ce41ca722529823a597427.tar.gz mtk-20170518-494b980f69a44daa78ce41ca722529823a597427.tar.bz2 |
modules: add lz4 compression support
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 44169
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/lib.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk index cd919ba..f230a99 100644 --- a/package/kernel/linux/modules/lib.mk +++ b/package/kernel/linux/modules/lib.mk @@ -117,6 +117,26 @@ endef $(eval $(call KernelPackage,lib-lzo)) +define KernelPackage/lib-lz4 + SUBMENU:=$(LIB_MENU) + DEPENDS:=@!(LINUX_3_3||LINUX_3_8||LINUX_3_10||LINUX_3_13||LINUX_3_14) + TITLE:=LZ4 support + 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)) + + define KernelPackage/lib-raid6 SUBMENU:=$(LIB_MENU) TITLE:=RAID6 algorithm support |