summaryrefslogtreecommitdiffstats
path: root/commands/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-01-13 17:04:14 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-01-14 08:52:44 +0100
commit90244aef72993fb8771213f1a63b862ca8d8c695 (patch)
tree930f193ff7d65cf3419dbfe16d8f47572a393385 /commands/Makefile
parent3f256724b98fb3784a6caf3cff77f957d46bead9 (diff)
downloadbarebox-90244aef72993fb8771213f1a63b862ca8d8c695.tar.gz
barebox-90244aef72993fb8771213f1a63b862ca8d8c695.tar.xz
commands: add new devunbind debugging command
Memory corruption around device removal may go unnoticed, because barebox is shutting down anyway and doing no new allocations. Add a new devunbind command that should help with debugging such issues by allowing selective unbinding and removal of devices. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220113160414.3943151-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Makefile')
-rw-r--r--commands/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Makefile b/commands/Makefile
index f867504149..7bf91787e8 100644
--- a/commands/Makefile
+++ b/commands/Makefile
@@ -105,6 +105,7 @@ obj-$(CONFIG_CMD_MIITOOL) += miitool.o
obj-$(CONFIG_CMD_DETECT) += detect.o
obj-$(CONFIG_CMD_BOOT) += boot.o
obj-$(CONFIG_CMD_DEVINFO) += devinfo.o
+obj-$(CONFIG_CMD_DEVUNBIND) += devunbind.o
obj-$(CONFIG_CMD_DRVINFO) += drvinfo.o
obj-$(CONFIG_CMD_READF) += readf.o
obj-$(CONFIG_CMD_MENUTREE) += menutree.o