kernel: add kmod-squashfs
authorMatteo Croce <matteo.croce@canonical.com>
Thu, 11 Aug 2016 14:11:39 +0000 (16:11 +0200)
committerMatteo Croce <matteo.croce@canonical.com>
Fri, 19 Aug 2016 14:37:25 +0000 (16:37 +0200)
add kernel package to build squashfs as module when it's not the root filesystem

Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
package/kernel/linux/modules/fs.mk

index b15a9a29b60b53d5aa18290f14a0270770380bf0..bb9ecc491a9de91108b91721effbf29052b5c248 100644 (file)
@@ -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