summaryrefslogtreecommitdiffstats
path: root/commands/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-09-30 10:26:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-30 15:33:22 +0200
commit930ce6e142354268d11ec9fe5cf6f4fc66a8f1f0 (patch)
treed924b3a215a8dac31e35c1e83ebf3440545d353e /commands/Makefile
parent6ae9a40c799dd341db985c95cc906ae2e0aacf97 (diff)
downloadbarebox-930ce6e142354268d11ec9fe5cf6f4fc66a8f1f0.tar.gz
barebox-930ce6e142354268d11ec9fe5cf6f4fc66a8f1f0.tar.xz
Introduce message logging support
This adds a buffer for log messages and a 'dmesg' command to print the messages. The log buffer is implemented as log objects rather than a string buffer. This makes it easy to implement limiting the messages, cleaning the buffer and timestamping the messages. 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 52b6137c01..608ff5eb40 100644
--- a/commands/Makefile
+++ b/commands/Makefile
@@ -81,6 +81,7 @@ obj-$(CONFIG_CMD_IOMEM) += iomemport.o
obj-$(CONFIG_CMD_LINUX_EXEC) += linux_exec.o
obj-$(CONFIG_CMD_AUTOMOUNT) += automount.o
obj-$(CONFIG_CMD_GLOBAL) += global.o
+obj-$(CONFIG_CMD_DMESG) += dmesg.o
obj-$(CONFIG_CMD_BASENAME) += basename.o
obj-$(CONFIG_CMD_DIRNAME) += dirname.o
obj-$(CONFIG_CMD_READLINK) += readlink.o