[source] kernel: add kmod-squashfs

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 15 06:54:30 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=2ebb4733e176560084809fb83d45366d929e1fc8

commit 2ebb4733e176560084809fb83d45366d929e1fc8
Author: Matteo Croce <matteo.croce at canonical.com>
AuthorDate: Thu Aug 11 16:11:39 2016 +0200

    kernel: add kmod-squashfs
    
    add kernel package to build squashfs as module when it's not the root filesystem
    
    Signed-off-by: Matteo Croce <matteo.croce at canonical.com>
---
 package/kernel/linux/modules/fs.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index 844a3c9..c42260a 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -420,6 +420,22 @@ endef
 $(eval $(call KernelPackage,fs-reiserfs))
 
 
+define KernelPackage/fs-squashfs
+  SUBMENU:=$(FS_MENU)
+  TITLE:=SquashFS 4.0 filesystem support
+  KCONFIG:=CONFIG_SQUASHFS \
+	CONFIG_SQUASHFS_XZ=y
+  FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
+  AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
+endef
+
+define KernelPackage/fs-squashfs/description
+ Kernel module for SquashFS 4.0 support
+endef
+
+$(eval $(call KernelPackage,fs-squashfs))
+
+
 define KernelPackage/fs-udf
   SUBMENU:=$(FS_MENU)
   TITLE:=UDF filesystem support



More information about the lede-commits mailing list