diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-19 15:49:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-01-27 14:24:39 +0100 |
commit | f331ac288f93d52bdcee4330f20b8e79ccad5eb1 (patch) | |
tree | 5a21397fc972424e635dd3298ee329eaa182cb60 /common/Kconfig | |
parent | 00c7c8ecab497198b31a1447d6fc0c951d198054 (diff) | |
download | barebox-f331ac288f93d52bdcee4330f20b8e79ccad5eb1.tar.gz barebox-f331ac288f93d52bdcee4330f20b8e79ccad5eb1.tar.xz |
introduce compile time loglevel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index b60b78bb89..30d61071a9 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -637,6 +637,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" |