From 468604e758f4aee8cd0513b5f9fe0e97e76858a5 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 1 May 2014 16:24:56 +0000 Subject: [PATCH] kernel: Add kernel module for cramfs support. This patch adds support for building support for cramfs filesystems as a kernel module. Signed-off-by: Owen Kirby git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40631 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/linux/modules/fs.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 5faaf3777c..459a892955 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -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)