kernel: modules: add lkdtm module

Useful for debugging panic/error handling, crash logging, and more.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
Brian Norris 2023-01-27 12:53:32 -08:00 committed by Hauke Mehrtens
parent c46584ab30
commit ecafdfa894
1 changed files with 16 additions and 0 deletions

View File

@ -243,6 +243,22 @@ endef
$(eval $(call KernelPackage,gpio-f7188x))
define KernelPackage/lkdtm
SUBMENU:=$(OTHER_MENU)
TITLE:=Linux Kernel Dump Test Tool Module
KCONFIG:=CONFIG_LKDTM
FILES:=$(LINUX_DIR)/drivers/misc/lkdtm/lkdtm.ko
AUTOLOAD:=$(call AutoProbe,lkdtm)
endef
define KernelPackage/lkdtm/description
This module enables testing of the different dumping mechanisms by inducing
system failures at predefined crash points.
endef
$(eval $(call KernelPackage,lkdtm))
define KernelPackage/pinctrl-mcp23s08
SUBMENU:=$(OTHER_MENU)
TITLE:=Microchip MCP23xxx I/O expander