Skip to content

aic8800_sdio: driver never builds — Makefile references undefined CONFIG_SPARD_WLAN_SUPPORT #455

Description

@medemi68

The aic8800_sdio WiFi driver cannot be built through normal kernel configuration. drivers/net/wireless/Makefile gates the directory with CONFIG_SPARD_WLAN_SUPPORT, but this symbol is not defined in any Kconfig file. The kernel build system silently strips undefined symbols from .config, so even if manually added via a fragment, it gets removed before compilation.

The driver's own Kconfig (drivers/net/wireless/aic8800_sdio/Kconfig) defines CONFIG_AIC_WLAN_SUPPORT as the top-level gate, and drivers/net/wireless/Kconfig correctly sources the aic8800_sdio Kconfig. The fix is to change the Makefile reference to match:

--- a/drivers/net/wireless/Makefile
+++ b/drivers/net/wireless/Makefile
@@ -4,7 +4,7 @@

 obj-$(CONFIG_WLAN_VENDOR_ADMTEK) += admtek/
-obj-$(CONFIG_SPARD_WLAN_SUPPORT) += aic8800_sdio/
+obj-$(CONFIG_AIC_WLAN_SUPPORT) += aic8800_sdio/
 obj-$(CONFIG_WLAN_VENDOR_ATH) += ath/
 obj-$(CONFIG_WLAN_VENDOR_ATMEL) += atmel/
 obj-$(CONFIG_WLAN_VENDOR_BROADCOM) += broadcom/

Affects branch rk-6.1-rkr6.1. I don't have the time to make a PR at the moment. But hopefully this helps someone else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions