netsnmp: disable build with external toolchain

There is a build problem with netsnmp on external toolchain that isn't
easy to fix: libtool strips the --sysroot that we are passing it,
which make the link step fail.

In preparation for the release, just make sure this package isn't
visible to external toolchain users. Of course, on the long run, we
should fix this.

We also disable the build of the Quagga SNMP support because it
selects netsnmp.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2010-05-15 20:09:46 +02:00
parent 56407a4efa
commit 52e600ebec
2 changed files with 10 additions and 0 deletions

View File

@ -1,7 +1,13 @@
config BR2_PACKAGE_NETSNMP
bool "netsnmp"
# Build with external toolchains is broken, libtool strips
# --sysroot at link time
depends on !BR2_TOOLCHAIN_EXTERNAL
help
Suite of applications used to implement SNMP v1, SNMP v2c, and
SNMP v3 using both IPv4 and IPv6.
http://net-snmp.sourceforge.net/
comment "lmbench is broken with external toolchains"
depends on BR2_TOOLCHAIN_EXTERNAL

View File

@ -59,8 +59,12 @@ config BR2_PACKAGE_QUAGGA_NETLINK
config BR2_PACKAGE_QUAGGA_SNMP
bool "SNMP support"
depends on !BR2_TOOLCHAIN_EXTERNAL
select BR2_PACKAGE_NETSNMP
comment "quagga snmp support broken with external toolchains"
depends on BR2_TOOLCHAIN_EXTERNAL
config BR2_PACKAGE_QUAGGA_TCP_ZEBRA
bool "TCP/IP socket connection between zebra and proto daemon"