aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-18 16:02:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-18 16:02:18 +0000
commitd4b6ea4a9a33b6f11ab8049770ded5e25185bd8e (patch)
tree0870c2163b95b913c8ba48fa2f100c38482ee2f0 /package/kernel
parent84267683bb1bea1eac2d0648081ceee26392cf2a (diff)
downloadupstream-d4b6ea4a9a33b6f11ab8049770ded5e25185bd8e.tar.gz
upstream-d4b6ea4a9a33b6f11ab8049770ded5e25185bd8e.tar.bz2
upstream-d4b6ea4a9a33b6f11ab8049770ded5e25185bd8e.zip
package/kernel: add package for MTD testing modules
SVN-Revision: 30628
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 62bc4e8a0d..ff42ebada5 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -796,3 +796,25 @@ define KernelPackage/n810bm/description
endef
$(eval $(call KernelPackage,n810bm))
+
+
+define KernelPackage/mtdtests
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=MTD subsystem tests
+ KCONFIG:=CONFIG_MTD_TESTS
+ FILES:=\
+ $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
+ $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
+ $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
+ $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
+ $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
+ $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
+ $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
+ $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
+endef
+
+define KernelPackage/mtdtests/description
+ Kernel modules for MTD subsystem/driver testing.
+endef
+
+$(eval $(call KernelPackage,mtdtests))