aboutsummaryrefslogtreecommitdiff
path: root/package/netsnmp
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2015-04-19 09:40:00 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-22 23:06:35 +0200
commit79ce08bbdc33d1725f5d950736c9f624814b5a03 (patch)
tree1b3aaff6114959b7bad2234504ddfb31af0735f3 /package/netsnmp
parent55bab4f619833b4edf933a7309503c9425cf623d (diff)
downloadbuildroot-79ce08bbdc33d1725f5d950736c9f624814b5a03.tar.gz
buildroot-79ce08bbdc33d1725f5d950736c9f624814b5a03.tar.bz2
packages: remove non-IPv6 dependencies and tweaks
Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/netsnmp')
-rw-r--r--package/netsnmp/netsnmp.mk11
1 files changed, 1 insertions, 10 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index f747011113..6eff5e3016 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -17,7 +17,7 @@ NETSNMP_CONF_OPTS = \
--enable-mini-agent \
--without-rpm \
--with-logfile=none \
- --without-kmem-usage $(DISABLE_IPV6) \
+ --without-kmem-usage \
--enable-as-needed \
--without-perl-modules \
--disable-embedded-perl \
@@ -81,15 +81,6 @@ else
NETSNMP_CONF_OPTS += --disable-applications
endif
-# Remove IPv6 MIBs if there's no IPv6
-ifneq ($(BR2_INET_IPV6),y)
-define NETSNMP_REMOVE_MIBS_IPV6
- rm -f $(TARGET_DIR)/usr/share/snmp/mibs/IPV6*
-endef
-
-NETSNMP_POST_INSTALL_TARGET_HOOKS += NETSNMP_REMOVE_MIBS_IPV6
-endif
-
define NETSNMP_REMOVE_BLOAT_MIBS
for mib in $(NETSNMP_BLOAT_MIBS); do \
rm -f $(TARGET_DIR)/usr/share/snmp/mibs/$$mib-MIB.txt; \