Commit 80e651db authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 205f0775
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
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