All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/wpa_supplicant: wired driver needs headers >= 4.6
@ 2022-05-11 19:46 Sergey Matyukevich
  2022-05-12  7:22 ` Yegor Yefremov via buildroot
  2022-05-14  9:47 ` Arnout Vandecappelle
  0 siblings, 2 replies; 3+ messages in thread
From: Sergey Matyukevich @ 2022-05-11 19:46 UTC (permalink / raw)
  To: buildroot; +Cc: Matt Weber, Sergey Matyukevich

Wired driver enables macsec support which depends on if_macsec.h.
That header has only been exported since kernel v4.6, see commit:
https://github.com/torvalds/linux/commit/dece8d2b78d19df7fe5e4e965f1f0d1a3e188d1b

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

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 package/wpa_supplicant/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
index 7e2432985c..92953f69f0 100644
--- a/package/wpa_supplicant/Config.in
+++ b/package/wpa_supplicant/Config.in
@@ -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
 
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/wpa_supplicant: wired driver needs headers >= 4.6
  2022-05-11 19:46 [Buildroot] [PATCH 1/1] package/wpa_supplicant: wired driver needs headers >= 4.6 Sergey Matyukevich
@ 2022-05-12  7:22 ` Yegor Yefremov via buildroot
  2022-05-14  9:47 ` Arnout Vandecappelle
  1 sibling, 0 replies; 3+ messages in thread
From: Yegor Yefremov via buildroot @ 2022-05-12  7:22 UTC (permalink / raw)
  To: Sergey Matyukevich; +Cc: Matt Weber, buildroot

Hi Sergey,

On Wed, May 11, 2022 at 9:46 PM Sergey Matyukevich <geomatsi@gmail.com> wrote:
>
> Wired driver enables macsec support which depends on if_macsec.h.
> That header has only been exported since kernel v4.6, see commit:
> https://github.com/torvalds/linux/commit/dece8d2b78d19df7fe5e4e965f1f0d1a3e188d1b
>
> Fixes:
> - http://autobuild.buildroot.net/results/6bb619eb7fdecf7824fcc549c4ccb8e487665d10/
>
> Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

Regards,
Yegor

> ---
>  package/wpa_supplicant/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
> index 7e2432985c..92953f69f0 100644
> --- a/package/wpa_supplicant/Config.in
> +++ b/package/wpa_supplicant/Config.in
> @@ -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
>
> --
> 2.35.1
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/wpa_supplicant: wired driver needs headers >= 4.6
  2022-05-11 19:46 [Buildroot] [PATCH 1/1] package/wpa_supplicant: wired driver needs headers >= 4.6 Sergey Matyukevich
  2022-05-12  7:22 ` Yegor Yefremov via buildroot
@ 2022-05-14  9:47 ` Arnout Vandecappelle
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-05-14  9:47 UTC (permalink / raw)
  To: Sergey Matyukevich, buildroot; +Cc: Matt Weber



On 11/05/2022 21:46, Sergey Matyukevich wrote:
> Wired driver enables macsec support which depends on if_macsec.h.
> That header has only been exported since kernel v4.6, see commit:
> https://github.com/torvalds/linux/commit/dece8d2b78d19df7fe5e4e965f1f0d1a3e188d1b
> 
> Fixes:
> - http://autobuild.buildroot.net/results/6bb619eb7fdecf7824fcc549c4ccb8e487665d10/
> 
> Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/wpa_supplicant/Config.in | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
> index 7e2432985c..92953f69f0 100644
> --- a/package/wpa_supplicant/Config.in
> +++ b/package/wpa_supplicant/Config.in
> @@ -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
>   
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-14  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 19:46 [Buildroot] [PATCH 1/1] package/wpa_supplicant: wired driver needs headers >= 4.6 Sergey Matyukevich
2022-05-12  7:22 ` Yegor Yefremov via buildroot
2022-05-14  9:47 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.