aboutsummaryrefslogtreecommitdiff
path: root/package/netsnmp
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-16 22:28:38 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-16 22:31:21 +0200
commit252b5a1fc0f6a30807de7912a958a71e83e9e8e0 (patch)
tree8b4b4de60b1629cab3d61b0886d74294ecb6bc6c /package/netsnmp
parent85235ba2735e7e76080d6791393da0a7efbacf70 (diff)
downloadbuildroot-252b5a1fc0f6a30807de7912a958a71e83e9e8e0.tar.gz
buildroot-252b5a1fc0f6a30807de7912a958a71e83e9e8e0.tar.bz2
netsnmp: cleanup configure flags handling
No functional change, but cleaner. Remove the double --disable-manuals and move the debug handling together with the other optional configure flags. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/netsnmp')
-rw-r--r--package/netsnmp/netsnmp.mk12
1 files changed, 4 insertions, 8 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 75956d4e61..1372f2fcd3 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -50,14 +50,15 @@ else
NETSNMP_CONF_OPT += --without-openssl
endif
-# Docs
-NETSNMP_CONF_OPT += --disable-manuals
-
ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y)
NETSNMP_CONF_OPT += --disable-mib-loading
NETSNMP_CONF_OPT += --disable-mibs
endif
+ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
+ NETSNMP_CONF_OPT += --disable-debugging
+endif
+
# Remove IPv6 MIBs if there's no IPv6
ifneq ($(BR2_INET_IPV6),y)
define NETSNMP_REMOVE_MIBS_IPV6
@@ -67,11 +68,6 @@ endef
NETSNMP_POST_INSTALL_TARGET_HOOKS += NETSNMP_REMOVE_MIBS_IPV6
endif
-ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
- NETSNMP_CONF_OPT += --disable-debugging
-endif
-
-
define NETSNMP_REMOVE_BLOAT_MIBS
for mib in $(NETSNMP_BLOAT_MIBS); do \
rm -f $(TARGET_DIR)/usr/share/snmp/mibs/$$mib-MIB.txt; \