[OpenWrt-Devel] [PATCH] mac80211: add packages libertas-spi module and firmware
Joseph Honold
mozzwald at gmail.com
Thu Feb 18 15:38:21 EST 2016
On 02/18/2016 01:07 PM, Felix Fietkau wrote:
> On 2016-02-18 15:29, Joseph Honold wrote:
>> This adds option to build kernel module and firmware packages
>> for a Marvell 8686 SPI Wireless device
>>
>> Signed-off-by: Joseph Honold <mozzwald at gmail.com>
>> ---
>> package/firmware/linux-firmware/marvell.mk | 10 ++++++++++
>> package/kernel/mac80211/Makefile | 15 ++++++++++++++-
>> 2 files changed, 24 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
>> index 227073d..bb2b05a 100644
>> --- a/package/kernel/mac80211/Makefile
>> +++ b/package/kernel/mac80211/Makefile
>> @@ -975,6 +975,17 @@ define KernelPackage/libertas-sdio
>> AUTOLOAD:=$(call AutoProbe,libertas libertas_sdio)
>> endef
>>
>> +define KernelPackage/libertas-spi
>> + $(call KernelPackage/mac80211/Default)
>> + SUBMENU:=Wireless Drivers
>> + DEPENDS+= +kmod-cfg80211 +kmod-lib80211 + at DRIVER_WEXT_SUPPORT +libertas-spi-firmware
>> + TITLE:=Marvell 88W8686 SPI Wireless Driver
>> + FILES:= \
>> + $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
>> + $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_spi.ko
>> + AUTOLOAD:=$(call AutoProbe,libertas libertas_spi)
> I think this needs KCONFIG := CONFIG_SPI=y, like other modules that
> depend on the SPI subsystem.
>
> - Felix
>
Ah yes... updated patch below:
More information about the openwrt-devel
mailing list