kernel: Add kernel module for cramfs support.
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 1 May 2014 16:24:56 +0000 (16:24 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 1 May 2014 16:24:56 +0000 (16:24 +0000)
This patch adds support for building support for cramfs filesystems as a kernel module.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 40631

package/kernel/linux/modules/fs.mk

index 5faaf3777c236bb28bb9b15e96f87d6139ba7cd1..459a892955523479ec146501cdcb94db2773608b 100644 (file)
@@ -121,6 +121,21 @@ endef
 
 $(eval $(call KernelPackage,fs-configfs))
 
+define KernelPackage/fs-cramfs
+  SUBMENU:=$(FS_MENU)
+  TITLE:=Compressed RAM/ROM filesystem support
+  DEPENDS:=+kmod-lib-zlib
+  KCONFIG:= \
+       CONFIG_CRAMFS
+  FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
+  AUTOLOAD:=$(call AutoLoad,30,cramfs)
+endef
+
+define KernelPackage/fs-cramfs/description
+ Kernel module for cramfs support
+endef
+
+$(eval $(call KernelPackage,fs-cramfs))
 
 define KernelPackage/fs-exportfs
   SUBMENU:=$(FS_MENU)