netsnmp: disable build with external toolchain
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 May 2010 18:09:46 +0000 (20:09 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 May 2010 20:34:30 +0000 (22:34 +0200)
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>
package/netsnmp/Config.in
package/quagga/Config.in

index fd54eb40dda4c16d03b99df21bc08d2d025c672a..810b654bfe5a4fe8b17220ad7d6621224b65081f 100644 (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
index e540cc6081570049ab97f091395572e8668706e1..fb0d590b6e6c93e319df43ddbe55fe8e1c7f2f1e 100644 (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"