]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
iproute2: needs headers >= 3.0
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 28 Jul 2015 14:14:22 +0000 (11:14 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Jul 2015 20:56:09 +0000 (22:56 +0200)
The newest iproute2 version requires a toolchain with headers >= 3.0 for
proper namespace & bpf support, so adjust the dependencies and
dependants accordingly. Fixes:

http://autobuild.buildroot.net/results/fa8/fa810f310c7540e02c0ed84c4a3ce74ab602daa5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ifupdown/Config.in
package/iproute2/Config.in
package/openswan/Config.in

index 10cf2be115c9752a6050601185cd25388fec09b8..1e11e4ee0ad704b8462567d983b31c2bb6f3e121 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_IFUPDOWN
        bool "ifupdown"
        depends on BR2_USE_MMU # fork()
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
        # Default/our uclibc lacks wordexp()
        depends on !BR2_TOOLCHAIN_USES_UCLIBC
        # runtime for ip binary
@@ -12,6 +13,7 @@ config BR2_PACKAGE_IFUPDOWN
 
          https://tracker.debian.org/pkg/ifupdown
 
-comment "ifupdown needs an (e)glibc or musl toolchain"
+comment "ifupdown needs an (e)glibc or musl toolchain w/ headers >= 3.0"
        depends on BR2_USE_MMU
-       depends on BR2_TOOLCHAIN_USES_UCLIBC
+       depends on BR2_TOOLCHAIN_USES_UCLIBC || \
+               !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
index 0662492058544cd269eb4b1c8920a515391792b0..fd373a8123429c4dd10699c75631d7b9f65cd936 100644 (file)
@@ -1,8 +1,13 @@
 config BR2_PACKAGE_IPROUTE2
        bool "iproute2"
        depends on BR2_USE_MMU # fork()
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # bpf, namespaces
        help
          Kernel routing and traffic control utilities. Provides things
          like ip and tc.
 
          http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
+
+comment "iproute2 needs a toolchain w/ headers >= 3.0"
+       depends on BR2_USE_MMU
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
index 932a75f672f291feaf0107124370dce1288c8132..0370143ed1e60e78be08e4d1c0589d15a2c31d93 100644 (file)
@@ -1,9 +1,14 @@
 config BR2_PACKAGE_OPENSWAN
        bool "openswan"
        depends on BR2_USE_MMU # iproute2
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
        select BR2_PACKAGE_GMP
        select BR2_PACKAGE_IPROUTE2
        help
          Openswan is an implementation of IPsec for Linux
 
          http://www.openswan.org
+
+comment "openswan needs a toolchain w/ headers >= 3.0"
+       depends on BR2_USE_MMU
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0