Sfoglia il codice sorgente

kernel: add kmod-squashfs

add kernel package to build squashfs as module when it's not the root filesystem

Signed-off-by: Matteo Croce <[email protected]>
Matteo Croce 9 anni fa
parent
commit
2ebb4733e1
1 ha cambiato i file con 16 aggiunte e 0 eliminazioni
  1. 16 0
      package/kernel/linux/modules/fs.mk

+ 16 - 0
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