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 <mozzw...@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 +@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 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel