summaryrefslogtreecommitdiff
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-24 13:45:05 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-24 13:45:05 +0000
commit225ab2533f2fc590fba22a5a3e6bdb85b222d6be (patch)
tree523c5ae13a3ae76c06df419c08da7567e28742af /package/kernel/modules/block.mk
parentcccc72df2cb1b3ae9bc75325d8bf77d42bc8c536 (diff)
downloadmtk-20170518-225ab2533f2fc590fba22a5a3e6bdb85b222d6be.zip
mtk-20170518-225ab2533f2fc590fba22a5a3e6bdb85b222d6be.tar.gz
mtk-20170518-225ab2533f2fc590fba22a5a3e6bdb85b222d6be.tar.bz2
package/kernel: move block2mtd to block.mk
SVN-Revision: 21134
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index ebd5d4d..f107425 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -161,6 +161,16 @@ endef
$(eval $(call KernelPackage,ata-via-sata))
+define KernelPackage/block2mtd
+ SUBMENU:=$(BLOCK_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/dm
SUBMENU:=$(BLOCK_MENU)
TITLE:=Device Mapper