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.
NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp --disable-static \
--with-defaults --enable-mini-agent --without-rpm \
--with-logfile=none --without-kmem-usage $(DISABLE_IPV6) \
- --enable-as-needed --disable-debugging --without-perl-modules \
+ --enable-as-needed --without-perl-modules \
--disable-embedded-perl --disable-perl-cc-checks \
--disable-scripts --with-default-snmp-version="1" \
--enable-silent-libtool --enable-mfd-rewrites \
endef
endif
+ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
+ NETSNMP_CONF_OPT += --disable-debugging
+endif
+
define NETSNMP_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
DESTDIR=$(TARGET_DIR) install