package/kernel: add package for MTD testing modules
authorGabor Juhos <juhosg@openwrt.org>
Sat, 18 Feb 2012 16:02:18 +0000 (16:02 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 18 Feb 2012 16:02:18 +0000 (16:02 +0000)
SVN-Revision: 30628

package/kernel/modules/other.mk

index 62bc4e8a0d5bb396b0b071b3b3748b6169cb7b3a..ff42ebada51eb63f03248cdcaf2032c2d89f0e77 100644 (file)
@@ -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))