summaryrefslogtreecommitdiff
path: root/package/netsnmp/Config.in
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2012-03-15 22:04:27 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-18 21:41:23 +0100
commita0b75003521e695e5ac852e8aba19ca90e30ed1c (patch)
tree601e82a454f9cf3274e514a75c62f18d0a5eadfe /package/netsnmp/Config.in
parent277bd1ff42504f91fe15de163aa62152784665ac (diff)
netsnmp: add option to enable debugging code
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/netsnmp/Config.in')
-rw-r--r--package/netsnmp/Config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/netsnmp/Config.in b/package/netsnmp/Config.in
index 431be2d38..108ab8393 100644
--- a/package/netsnmp/Config.in
+++ b/package/netsnmp/Config.in
@@ -14,3 +14,12 @@ config BR2_PACKAGE_NETSNMP_ENABLE_MIBS
The net-snmp package contains a selection of MIB files.
Say yes if you want those MIB files installed on the target
and enable the code that parses the MIB files.
+
+config BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING
+ bool "Enable debugging code"
+ depends on BR2_PACKAGE_NETSNMP
+ help
+ By default net-snmp is compiled without debugging support
+ (--disable-debugging). Enable this options if you need debugging
+ support, including the ability to log with DEBUGMSG(),
+ DEBUGMSGTL() and companion macros.