iproute2: needs kernel headers 3.4+
authorBaruch Siach <baruch@tkos.co.il>
Sat, 3 Jun 2017 21:30:33 +0000 (00:30 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Jun 2017 07:44:47 +0000 (09:44 +0200)
iproute2 needs the __kernel_long_t and __kernel_ulong_t types that were
introduced in kernel v3.4.

Fixes:
http://autobuild.buildroot.net/results/823/823f0dbe17999c07134fac5a0620e3ad15362204/
http://autobuild.buildroot.net/results/a79/a797a6e3d193fa70abd59411df21657a1c0a45d4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ifupdown/Config.in
package/iproute2/Config.in
package/openswan/Config.in

index ccacd0fc9cec372f28dba771079dc23239189f0c..97d02b4c37fc9bd198a2d7ec196bf326390ff674 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_IFUPDOWN
        bool "ifupdown"
        depends on BR2_USE_MMU # fork()
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
        depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
        # runtime for ip binary
        select BR2_PACKAGE_IPROUTE2 if !BR2_PACKAGE_BUSYBOX
@@ -12,7 +12,7 @@ config BR2_PACKAGE_IFUPDOWN
 
          https://tracker.debian.org/pkg/ifupdown
 
-comment "ifupdown needs a toolchain w/ headers >= 3.0"
+comment "ifupdown needs a toolchain w/ headers >= 3.4"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
        depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
index fd373a8123429c4dd10699c75631d7b9f65cd936..ab9e515eca7642ca964d6ac984af7178b54d6102 100644 (file)
@@ -1,13 +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
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # __kernel_{u,}long_t
        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"
+comment "iproute2 needs a toolchain w/ headers >= 3.4"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
index 5db665c6f70cea8ad17dc73367160cac2d127134..340686cc50e6ab1f68ed3565eded24f56a01e2aa 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_OPENSWAN
        bool "openswan"
        depends on BR2_USE_MMU # iproute2
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
        depends on !BR2_TOOLCHAIN_USES_MUSL # GLOB_BRACE
        select BR2_PACKAGE_GMP
        select BR2_PACKAGE_IPROUTE2
@@ -10,7 +10,7 @@ config BR2_PACKAGE_OPENSWAN
 
          http://www.openswan.org
 
-comment "openswan needs a uClibc or glibc toolchain w/ headers >= 3.0"
+comment "openswan needs a uClibc or glibc toolchain w/ headers >= 3.4"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || \
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || \
                BR2_TOOLCHAIN_USES_MUSL