package/xr819-xradio: enable for ARM only

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>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Sergey Matyukevich 2022-05-07 23:29:05 +03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent a191d39138
commit cf629c4e32

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_XR819_XRADIO
bool "xr819-xradio"
depends on BR2_LINUX_KERNEL
depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
help
Wireless driver for SDIO WiFi chip XR819