summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-03 18:04:04 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-03 18:04:04 +0000
commit17afd5a0df9ab533839a2ab114b0062e771c27d5 (patch)
tree7875158049d8c8b5a21d50753301198a30508b08
parentc7b19c2d0c053ca21b7287c2fe0c16fbd3b9f4d4 (diff)
add kmod-fs-configfs to replace kernel bloat added by selecting kmod-mmc-over-gpio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34998 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/fs.mk16
-rw-r--r--package/system/mmc_over_gpio/Makefile5
2 files changed, 18 insertions, 3 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index c4561ef7ee..fc4c756793 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -69,6 +69,22 @@ endef
$(eval $(call KernelPackage,fs-cifs))
+define KernelPackage/fs-configfs
+ SUBMENU:=$(FS_MENU)
+ TITLE:=Configuration filesystem support
+ KCONFIG:= \
+ CONFIG_CONFIGFS_FS
+ FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
+ AUTOLOAD:=$(call AutoLoad,30,configfs)
+endef
+
+define KernelPackage/fs-configfs/description
+ Kernel module for configfs support
+endef
+
+$(eval $(call KernelPackage,fs-configfs))
+
+
define KernelPackage/fs-exportfs
SUBMENU:=$(FS_MENU)
TITLE:=exportfs kernel server support
diff --git a/package/system/mmc_over_gpio/Makefile b/package/system/mmc_over_gpio/Makefile
index 03096ad033..8525887dd2 100644
--- a/package/system/mmc_over_gpio/Makefile
+++ b/package/system/mmc_over_gpio/Makefile
@@ -15,9 +15,8 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/mmc-over-gpio
SUBMENU:=Other modules
- DEPENDS:=@GPIO_SUPPORT +kmod-mmc-spi +kmod-spi-gpio-old
- KCONFIG:=CONFIG_GPIOMMC \
- CONFIG_CONFIGFS_FS=y
+ DEPENDS:=@GPIO_SUPPORT +kmod-mmc-spi +kmod-spi-gpio-old +kmod-fs-configfs
+ KCONFIG:=CONFIG_GPIOMMC
TITLE:=MMC/SD card over GPIO support
FILES:=$(LINUX_DIR)/drivers/mmc/host/gpiommc.ko
AUTOLOAD:=$(call AutoLoad,93,gpiommc)