diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2015-05-13 15:22:34 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-05-13 15:31:23 +0200 |
commit | 80e651db43a9cbd4da7149d091b1ba1fdbb7d678 (patch) | |
tree | 117c21dbf18b5660e548c1d95bbd0296ed6b40a3 | |
parent | 205f07755661b64da21509469b46006ea0badcf9 (diff) | |
download | buildroot-80e651db43a9cbd4da7149d091b1ba1fdbb7d678.tar.gz buildroot-80e651db43a9cbd4da7149d091b1ba1fdbb7d678.zip |
dhcpcd: needs kernel headers >= 3.1
commit dfbfa6ef (dhcpcd: blacklist Sourcery PowerPC toolchains) blacklisted
specific toolchains, but the issue is actually that the kernel headers
before 3.1 didn't define sa_family_t, so instead require 3.1+ headers.
The specific kernel change fixing the headers is:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6602a4baf4d1a73cc
The only reverse dependency of dhcpcd (network-manager) already needs 3.7+,
so this dependency doesn't need to be propagated.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/dhcpcd/Config.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/dhcpcd/Config.in b/package/dhcpcd/Config.in index f2ca0998f8..88f2e489d2 100644 --- a/package/dhcpcd/Config.in +++ b/package/dhcpcd/Config.in @@ -1,9 +1,11 @@ +comment "dhcpcd needs a toolchain w/ headers >= 3.1" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 + config BR2_PACKAGE_DHCPCD bool "dhcpcd" # No support for AI_ADDRCONFIG depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 - # bad headers, no sa_family_t in linux/socket.h - depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009) + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 # sa_family_t in linux/socket.h help An RFC2131 compliant DHCP client |