1comment "dhcpcd needs a toolchain w/ headers >= 3.1"
2	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
3
4config BR2_PACKAGE_DHCPCD
5	bool "dhcpcd"
6	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 # sa_family_t in linux/socket.h
7	help
8	  An RFC2131 compliant DHCP client
9
10	  http://roy.marples.name/projects/dhcpcd/
11
12if BR2_PACKAGE_DHCPCD
13
14config BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP
15	bool
16	default y
17	depends on BR2_USE_MMU
18	# Audit headers were only added in recent kernels for some arches
19	depends on !(BR2_arceb || BR2_arcle) || \
20		BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
21	depends on !(BR2_microblazeel || BR2_microblazebe) || \
22		BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
23	depends on !BR2_nios2 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
24	depends on !BR2_or1k || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
25	depends on !BR2_sh || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
26	depends on !BR2_xtensa || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
27
28endif
29