aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-04-30 21:53:29 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-04-30 21:53:29 +0000
commit599b40c3eddc65aed6e79da8e2404717732858b3 (patch)
tree3c23307803a7e37deda5a746a6ea0cba89a831aa
parent186b5655d0ce9fd5e2f4b06fdb2466a9ec16d024 (diff)
downloadupstream-599b40c3eddc65aed6e79da8e2404717732858b3.tar.gz
upstream-599b40c3eddc65aed6e79da8e2404717732858b3.tar.bz2
upstream-599b40c3eddc65aed6e79da8e2404717732858b3.zip
kernel: add staging r8188eu module (3.13)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 40609
-rw-r--r--package/firmware/linux-firmware/Makefile20
-rw-r--r--package/kernel/linux/modules/wireless.mk20
2 files changed, 40 insertions, 0 deletions
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))
+