Author: blogic
Date: 2015-01-28 13:06:45 +0100 (Wed, 28 Jan 2015)
New Revision: 44169

Modified:
   trunk/package/kernel/linux/modules/lib.mk
Log:
modules: add lz4 compression support

Signed-off-by: Nathan Hintz <[email protected]>

Modified: trunk/package/kernel/linux/modules/lib.mk
===================================================================
--- trunk/package/kernel/linux/modules/lib.mk   2015-01-28 12:06:35 UTC (rev 
44168)
+++ trunk/package/kernel/linux/modules/lib.mk   2015-01-28 12:06:45 UTC (rev 
44169)
@@ -117,6 +117,26 @@
 $(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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to