From: Peter Korsgaard Date: Wed, 13 May 2015 13:22:34 +0000 (+0200) Subject: dhcpcd: needs kernel headers >= 3.1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80e651db43a9cbd4da7149d091b1ba1fdbb7d678;p=buildroot.git 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 --- 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