From: Zoltan Herpai Date: Wed, 30 Apr 2014 21:53:29 +0000 (+0000) Subject: kernel: add staging r8188eu module (3.13) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=599b40c3eddc65aed6e79da8e2404717732858b3;p=openwrt%2Fstaging%2F981213.git kernel: add staging r8188eu module (3.13) Signed-off-by: Zoltan HERPAI SVN-Revision: 40609 --- diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile index fdc7de100e..015aff7554 100644 --- a/package/firmware/linux-firmware/Makefile +++ b/package/firmware/linux-firmware/Makefile @@ -41,3 +41,23 @@ define Package/r8169-firmware/install endef $(eval $(call BuildPackage,r8169-firmware)) + +define Package/r8188eu-firmware + SECTION:=firmware + CATEGORY:=Firmware + URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git + TITLE:=RealTek r8188eu firmware +endef + +define Build/Compile + +endef + +define Package/r8188eu-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi + $(CP) \ + $(PKG_BUILD_DIR)/rtlwifi/rtl8188eufw.bin \ + $(1)/lib/firmware/rtlwifi +endef + +$(eval $(call BuildPackage,r8188eu-firmware)) diff --git a/package/kernel/linux/modules/wireless.mk b/package/kernel/linux/modules/wireless.mk index df64614514..e657f8feac 100644 --- a/package/kernel/linux/modules/wireless.mk +++ b/package/kernel/linux/modules/wireless.mk @@ -106,3 +106,23 @@ endef $(eval $(call Download,net-prism54)) $(eval $(call KernelPackage,net-prism54)) + +define KernelPackage/net-rtl8188eu + SUBMENU:=$(WIRELESS_MENU) + TITLE:=RTL8188EU support (staging) + DEPENDS:=@LINUX_3_13 @USB_SUPPORT +@DRIVER_WEXT_SUPPORT +r8188eu-firmware + KCONFIG:=\ + CONFIG_STAGING=y \ + CONFIG_R8188EU \ + CONFIG_88EU_AP_MODE=n \ + CONFIG_88EU_P2P=n + FILES:=$(LINUX_DIR)/drivers/staging/rtl8188eu/r8188eu.ko + AUTOLOAD:=$(call AutoProbe,r8188eu) +endef + +define KernelPackage/net-rtl8188eu/description + Kernel modules for RealTek RTL8188EU support +endef + +$(eval $(call KernelPackage,net-rtl8188eu)) +