Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Matyukevich <geomatsi@gmail.com>
To: buildroot@buildroot.org
Cc: Sergey Matyukevich <geomatsi@gmail.com>
Subject: [Buildroot] [PATCH 3/3] package/xr819-xradio: enable for ARM only
Date: Sat,  7 May 2022 23:29:05 +0300	[thread overview]
Message-ID: <20220507202905.397732-4-geomatsi@gmail.com> (raw)
In-Reply-To: <20220507202905.397732-1-geomatsi@gmail.com>

The xradio driver is broken for kernel configurations with disabled
power management core functionality (CONFIG_PM). The xradio package
makefile attempts to enable all the required kernel configuration
options, including CONFIG_PM. However certain architectures have
no support for CONFIG_PM. Those are or1k, nios2, csky, and more.

One possible fix would be to exclude those architectures in the
package Config.in. On the other hand, the xradio driver is rarely
used: orangepi_zero is the only such board in Buildroot. So it
makes sense to keep it simple and enable xradio only for ARM.
Any new xradio users will be considered on a case by case basis.

Fixes:
- http://autobuild.buildroot.net/results/2ad11cd7a9ca6b694854730e46260a944e8c4bac/

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

diff --git a/package/xr819-xradio/Config.in b/package/xr819-xradio/Config.in
index 9d7fa4b0f1..351ea95c79 100644
--- a/package/xr819-xradio/Config.in
+++ b/package/xr819-xradio/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_XR819_XRADIO
 	bool "xr819-xradio"
 	depends on BR2_LINUX_KERNEL
+	depends on BR2_arm
 	help
 	  Wireless driver for SDIO WiFi chip XR819
 
-- 
2.35.1

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

  parent reply	other threads:[~2022-05-07 20:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-07 20:29 [Buildroot] [PATCH 0/3] xr819-xradio: fixes for autobuild failures Sergey Matyukevich
2022-05-07 20:29 ` [Buildroot] [PATCH 1/3] package/xr819-xradio: bump version Sergey Matyukevich
2022-05-07 20:29 ` [Buildroot] [PATCH 2/3] package/xr819-xradio: enable required kernel options Sergey Matyukevich
2022-05-13 20:52   ` Arnout Vandecappelle
2022-05-07 20:29 ` Sergey Matyukevich [this message]
2022-05-13 20:56   ` [Buildroot] [PATCH 3/3] package/xr819-xradio: enable for ARM only 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=20220507202905.397732-4-geomatsi@gmail.com \
    --to=geomatsi@gmail.com \
    --cc=buildroot@buildroot.org \
    /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