Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kris Bahnsen via buildroot <buildroot@buildroot.org>
To: James Hilliard <james.hilliard1@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency
Date: Wed, 27 Apr 2022 09:50:32 -0700	[thread overview]
Message-ID: <1651078232.2364.2.camel@embeddedTS.com> (raw)
In-Reply-To: <20220427072541.4082648-1-james.hilliard1@gmail.com>

On Wed, 2022-04-27 at 01:25 -0600, James Hilliard wrote:
> Fixes:
>  - http://autobuild.buildroot.net/results/40b/40b8aa0c19917f64c3f272f5479068e7631ffcc3
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> Changes v1 -> v2:
>   - add comment when !BR2_LINUX_KERNEL
> ---
>  package/wilc-driver/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in
> index caf46ae281..24a7b05b17 100644
> --- a/package/wilc-driver/Config.in
> +++ b/package/wilc-driver/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_WILC_DRIVER
>  	bool "wilc kernel module"
> +	depends on BR2_LINUX_KERNEL
>  	help
>  	  External kernel module for WILC1000/3000 devices.
>  
> @@ -16,6 +17,9 @@ config BR2_PACKAGE_WILC_DRIVER
>  
>  	  https://github.com/embeddedTS/wilc3000-external-module
>  
> +comment "wilc kernel module needs a Linux kernel to be built"
> +	depends on !BR2_LINUX_KERNEL
> +
>  if BR2_PACKAGE_WILC_DRIVER
>  
>  config BR2_PACKAGE_WILC_DRIVER_SPI

I also just wanted to note that this driver in this form has only ever
been tested on AT91 and i.MX6UL ARM platforms. It may work on other
architectures, but we've not got any hardware setup for that. I'm not sure
if this fact would warrant a depends on ARM architecture for now to limit
scope or to leave it open for others to test.

As-is, the patch looks good to me though.

Reviewed-by: Kris Bahnsen <kris@embeddedTS.com>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-04-27 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27  7:25 [Buildroot] [PATCH v2 1/1] package/wilc-driver: add missing BR2_LINUX_KERNEL dependency James Hilliard
2022-04-27 16:50 ` Kris Bahnsen via buildroot [this message]
2022-04-27 19:38 ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651078232.2364.2.camel@embeddedTS.com \
    --to=buildroot@buildroot.org \
    --cc=james.hilliard1@gmail.com \
    --cc=kris@embeddedTS.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox