Răsfoiți Sursa

add kmod-fs-configfs to replace kernel bloat added by selecting kmod-mmc-over-gpio

SVN-Revision: 34998
Felix Fietkau 13 ani în urmă
părinte
comite
1dada293bf
2 a modificat fișierele cu 18 adăugiri și 3 ștergeri
  1. 16 0
      package/kernel/modules/fs.mk
  2. 2 3
      package/system/mmc_over_gpio/Makefile

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

+ 2 - 3
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)