Explorar o código

kernel: add a package for block2mtd

SVN-Revision: 19665
Felix Fietkau %!s(int64=16) %!d(string=hai) anos
pai
achega
19d6a9ce6a
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      package/kernel/modules/other.mk

+ 8 - 0
package/kernel/modules/other.mk

@@ -7,6 +7,14 @@
 
 OTHER_MENU:=Other modules
 
+define KernelPackage/block2mtd
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Block device MTD emulation
+  KCONFIG:=CONFIG_MTD_BLOCK2MTD
+  FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,block2mtd))
+
 define KernelPackage/crc-itu-t
   SUBMENU:=$(OTHER_MENU)
   TITLE:=CRC ITU-T V.41 support