aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit7bb638bebbeb7c162e5456dae280a7e24c996e2c (patch)
tree751af64ae6e8aa0a52bf0fcac89b3e3f4e2aaf64 /package
parent2b5864b2a53a1a1b234665498fa14167fff82a9a (diff)
downloadupstream-7bb638bebbeb7c162e5456dae280a7e24c996e2c.tar.gz
upstream-7bb638bebbeb7c162e5456dae280a7e24c996e2c.tar.bz2
upstream-7bb638bebbeb7c162e5456dae280a7e24c996e2c.zip
kernel: add staging r8188eu module (3.13)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40609 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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))
+