iproute2: needs kernel headers 3.4+

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>
This commit is contained in:
Baruch Siach 2017-06-04 00:30:33 +03:00 committed by Thomas Petazzoni
parent 77c6d92c65
commit 8d921da411
3 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_IFUPDOWN config BR2_PACKAGE_IFUPDOWN
bool "ifupdown" bool "ifupdown"
depends on BR2_USE_MMU # fork() 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 depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
# runtime for ip binary # runtime for ip binary
select BR2_PACKAGE_IPROUTE2 if !BR2_PACKAGE_BUSYBOX select BR2_PACKAGE_IPROUTE2 if !BR2_PACKAGE_BUSYBOX
@ -12,7 +12,7 @@ config BR2_PACKAGE_IFUPDOWN
https://tracker.debian.org/pkg/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_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 depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

View File

@ -1,13 +1,13 @@
config BR2_PACKAGE_IPROUTE2 config BR2_PACKAGE_IPROUTE2
bool "iproute2" bool "iproute2"
depends on BR2_USE_MMU # fork() 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 help
Kernel routing and traffic control utilities. Provides things Kernel routing and traffic control utilities. Provides things
like ip and tc. like ip and tc.
http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2 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_USE_MMU
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_OPENSWAN config BR2_PACKAGE_OPENSWAN
bool "openswan" bool "openswan"
depends on BR2_USE_MMU # iproute2 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 depends on !BR2_TOOLCHAIN_USES_MUSL # GLOB_BRACE
select BR2_PACKAGE_GMP select BR2_PACKAGE_GMP
select BR2_PACKAGE_IPROUTE2 select BR2_PACKAGE_IPROUTE2
@ -10,7 +10,7 @@ config BR2_PACKAGE_OPENSWAN
http://www.openswan.org 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_USE_MMU
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || \ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || \
BR2_TOOLCHAIN_USES_MUSL BR2_TOOLCHAIN_USES_MUSL