kernel: add staging r8188eu module (3.13)
authorZoltan Herpai <wigyori@uid0.hu>
Wed, 30 Apr 2014 21:53:29 +0000 (21:53 +0000)
committerZoltan Herpai <wigyori@uid0.hu>
Wed, 30 Apr 2014 21:53:29 +0000 (21:53 +0000)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 40609

package/firmware/linux-firmware/Makefile
package/kernel/linux/modules/wireless.mk

index fdc7de100e7ea18d2f189242d5d0d2a04d699e76..015aff755457d34cc8f39e9255fef89af46e3fe5 100644 (file)
@@ -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))
index df64614514b35f73d8ef3067cdeeb1e52abccecb..e657f8feacf526d1f5b5cca2ab6b90358b45ae29 100644 (file)
@@ -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))
+