20dd9453f3
Add BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP following Arnout feedback: https://patchwork.ozlabs.org/project/buildroot/patch/20210303091904.467706-1-fontaine.fabrice@gmail.com Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
30 lines
966 B
Plaintext
30 lines
966 B
Plaintext
comment "dhcpcd needs a toolchain w/ headers >= 3.1"
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
|
|
|
|
config BR2_PACKAGE_DHCPCD
|
|
bool "dhcpcd"
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 # sa_family_t in linux/socket.h
|
|
help
|
|
An RFC2131 compliant DHCP client
|
|
|
|
http://roy.marples.name/projects/dhcpcd/
|
|
|
|
if BR2_PACKAGE_DHCPCD
|
|
|
|
config BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP
|
|
bool
|
|
default y
|
|
depends on BR2_USE_MMU
|
|
# Audit headers were only added in recent kernels for some arches
|
|
depends on !(BR2_arceb || BR2_arcle) || \
|
|
BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
|
|
depends on !(BR2_microblazeel || BR2_microblazebe) || \
|
|
BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
|
|
depends on !BR2_nds32 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
|
|
depends on !BR2_nios2 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
|
|
depends on !BR2_or1k || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
|
depends on !BR2_sh || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
|
depends on !BR2_xtensa || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
|
|
|
|
endif
|