From: Jianhui Zhao Date: Mon, 30 Oct 2017 05:32:31 +0000 (+0800) Subject: kernel: add packaging for mtdoops X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a8a23ca50caec2477e180bdf1f8d040f7824a23b;p=librecmc%2Flibrecmc.git kernel: add packaging for mtdoops Signed-off-by: Jianhui Zhao --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index a08134c256..1d07a16420 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