summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-04 15:48:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-04 15:48:51 +0100
commit22e254480982a45b44b425a25f3262b72da4ed0d (patch)
tree83256d0ad6ccdfe0f368283b823b855dc5ad0b2e /common/Kconfig
parentdb63bd8e10abf033e0a49932e2319a76b0fa9c1b (diff)
parenta81c6a9f16db267aad65f13ced0e25b91cbca179 (diff)
downloadbarebox-22e254480982a45b44b425a25f3262b72da4ed0d.tar.gz
barebox-22e254480982a45b44b425a25f3262b72da4ed0d.tar.xz
Merge branch 'for-next/compile-log-level'
Conflicts: drivers/usb/host/ehci-hcd.c
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index df67382191..42a54f7988 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -632,6 +632,22 @@ endmenu
menu "Debugging"
+config COMPILE_LOGLEVEL
+ int "loglevel"
+ default 6
+ help
+ This defines the maximum loglevel compiled into the binary. Less important
+ messages will be compiled away resulting in a smaller binary.
+
+ 0 system is unusable (emerg)
+ 1 action must be taken immediately (alert)
+ 2 critical conditions (crit)
+ 3 error conditions (err)
+ 4 warning conditions (warn)
+ 5 normal but significant condition (notice)
+ 6 informational (info)
+ 7 debug-level messages (debug)
+
config DEBUG_INFO
bool
prompt "enable debug symbols"