summaryrefslogtreecommitdiffstats
path: root/rules/net-snmp.make
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2011-03-15 13:50:56 +0100
committerWolfram Sang <w.sang@pengutronix.de>2011-03-15 13:50:56 +0100
commit773b6d3896fc34098c3145e2c504b53f0df6c033 (patch)
treecf5f776f05c84bf04e6cd93700a4642b949fbb5a /rules/net-snmp.make
parent4f8a95e1cd3562e2d179420822b7db29d0c2a90e (diff)
downloadptxdist-773b6d3896fc34098c3145e2c504b53f0df6c033.tar.gz
ptxdist-773b6d3896fc34098c3145e2c504b53f0df6c033.tar.xz
net-snmp: fix debugging options
Debugging options are a bit unusual and have three states. Now we can have the default case, too. Also, update the comment about the build-fix for 5.6.1. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'rules/net-snmp.make')
-rw-r--r--rules/net-snmp.make6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules/net-snmp.make b/rules/net-snmp.make
index b1e150c3f..e4716d3a9 100644
--- a/rules/net-snmp.make
+++ b/rules/net-snmp.make
@@ -137,9 +137,11 @@ else
NET_SNMP_AUTOCONF += --disable-local-smux
endif
-ifdef PTXCONF_NET_SNMP_DEBUGGING
+ifdef PTXCONF_NET_SNMP_FORCE_DEBUGGING
NET_SNMP_AUTOCONF += --enable-debugging
-else
+endif
+
+ifdef PTXCONF_NET_SNMP_STRIP_DEBUGGING
NET_SNMP_AUTOCONF += --disable-debugging
endif