mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
snmppp: add option to enable logging
SNMP++ logging can be overly verbose, and according to the SNMP++ documentation, disabling logging "increases performance drastically and minimizes memory consumption". Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
cdf8dcd0cc
commit
ac6718e73f
@ -8,5 +8,16 @@ config BR2_PACKAGE_SNMPPP
|
|||||||
|
|
||||||
http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html
|
http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html
|
||||||
|
|
||||||
|
if BR2_PACKAGE_SNMPPP
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SNMPPP_LOGGING
|
||||||
|
bool "enable logging"
|
||||||
|
help
|
||||||
|
Enable logging output for SNMP++.
|
||||||
|
According to the SNMP++ documentation, disabling logging "increases
|
||||||
|
performance drastically and minimizes memory consumption".
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
comment "snmp++ needs a toolchain w/ threads, C++"
|
comment "snmp++ needs a toolchain w/ threads, C++"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
@ -11,6 +11,7 @@ SNMPPP_DEPENDENCIES = openssl host-pkgconf
|
|||||||
SNMPPP_INSTALL_STAGING = YES
|
SNMPPP_INSTALL_STAGING = YES
|
||||||
# no configure script in tarball
|
# no configure script in tarball
|
||||||
SNMPPP_AUTORECONF = YES
|
SNMPPP_AUTORECONF = YES
|
||||||
|
SNMPPP_CONF_OPT = $(if $(BR2_PACKAGE_SNMPPP_LOGGING),--enable-logging,--disable-logging)
|
||||||
SNMPPP_LICENSE = SNMP++
|
SNMPPP_LICENSE = SNMP++
|
||||||
SNMPPP_LICENSE_FILES = src/v3.cpp
|
SNMPPP_LICENSE_FILES = src/v3.cpp
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user