|
@@ -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
|