[source] kernel: add packaging for mtdoops

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 15 12:18:23 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/a8a23ca50caec2477e180bdf1f8d040f7824a23b

commit a8a23ca50caec2477e180bdf1f8d040f7824a23b
Author: Jianhui Zhao <jianhuizhao329 at gmail.com>
AuthorDate: Mon Oct 30 13:32:31 2017 +0800

    kernel: add packaging for mtdoops
    
    Signed-off-by: Jianhui Zhao <jianhuizhao329 at gmail.com>
---
 package/kernel/linux/modules/other.mk | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index a08134c..1d07a16 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -604,6 +604,20 @@ endef
 $(eval $(call KernelPackage,mtdtests))
 
 
+define KernelPackage/mtdoops
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Log panic/oops to an MTD buffer
+  KCONFIG:=CONFIG_MTD_OOPS
+  FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
+endef
+
+define KernelPackage/mtdoops/description
+ Kernel modules for Log panic/oops to an MTD buffer
+endef
+
+$(eval $(call KernelPackage,mtdoops))
+
+
 define KernelPackage/serial-8250
   SUBMENU:=$(OTHER_MENU)
   TITLE:=8250 UARTs



More information about the lede-commits mailing list