package/wpa_supplicant: wired driver needs headers >= 4.6

Wired driver enables macsec support which depends on if_macsec.h.
That header has only been exported since kernel v4.6, see commit:
dece8d2b78

Fixes:
- http://autobuild.buildroot.net/results/6bb619eb7fdecf7824fcc549c4ccb8e487665d10/

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Sergey Matyukevich 2022-05-11 22:46:16 +03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent d95a6dac31
commit 4a1e3ff071

View File

@ -42,6 +42,7 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WEXT
config BR2_PACKAGE_WPA_SUPPLICANT_WIRED
bool "Enable wired support"
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
select BR2_PACKAGE_LIBNL
select BR2_PACKAGE_WPA_SUPPLICANT_EAP
help
@ -49,6 +50,9 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WIRED
supplicant can be used with Ethernet. This also enables
support for MACSEC.
comment "wired macsec support needs a toolchain w/ headers >= 4.6"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
comment "wired support needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS