]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
rtl8723bu: new package
authorMylène Josserand <mylene.josserand@free-electrons.com>
Mon, 27 Nov 2017 09:01:19 +0000 (10:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Dec 2017 22:08:13 +0000 (23:08 +0100)
Add RTL8723BU package to compile the Realtek RTL8723BU Wifi driver.

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/rtl8723bu/Config.in [new file with mode: 0644]
package/rtl8723bu/rtl8723bu.hash [new file with mode: 0644]
package/rtl8723bu/rtl8723bu.mk [new file with mode: 0644]

index 0f5847efe0905eb9a6d470a58f118f2ade048be0..27b22f4f0fedc1a39ca34c4704245d062eedb216 100644 (file)
@@ -1209,6 +1209,9 @@ N:        Mike Harmony <mike.harmony@snapav.com>
 F:     board/sinovoip/m2-plus/
 F:     configs/bananapi_m2_plus_defconfig
 
+N:     Mylène Josserand <mylene.josserand@free-electrons.com>
+F:     package/rtl8723bu/
+
 N:     Nathan Lynch <ntl@pobox.com>
 F:     package/chrony/
 
index 877cbf2cbe7246f2734dd95c42a6759ee7001a20..aa111e48e6fb85f0eca3fed9fdb942d58a6c8040 100644 (file)
@@ -484,6 +484,7 @@ endmenu
        source "package/rs485conf/Config.in"
        source "package/rtl8188eu/Config.in"
        source "package/rtl8723bs/Config.in"
+       source "package/rtl8723bu/Config.in"
        source "package/rtl8821au/Config.in"
        source "package/sane-backends/Config.in"
        source "package/sdparm/Config.in"
diff --git a/package/rtl8723bu/Config.in b/package/rtl8723bu/Config.in
new file mode 100644 (file)
index 0000000..266a794
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_RTL8723BU
+       bool "rtl8723bu"
+       depends on BR2_LINUX_KERNEL
+       help
+         rtl8723bu wifi driver
+
+         https://github.com/lwfinger/rtl8723bu
+
+comment "rtl8723bu needs a Linux kernel to be built"
+       depends on !BR2_LINUX_KERNEL
diff --git a/package/rtl8723bu/rtl8723bu.hash b/package/rtl8723bu/rtl8723bu.hash
new file mode 100644 (file)
index 0000000..ef4edda
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 da04cffc306d9738abdc67d234b8948db6ca97ed77760c68d99d18817839a513 rtl8723bu-b922079a090dcaad58179d478442ff97f18521c9.tar.gz
diff --git a/package/rtl8723bu/rtl8723bu.mk b/package/rtl8723bu/rtl8723bu.mk
new file mode 100644 (file)
index 0000000..942b13b
--- /dev/null
@@ -0,0 +1,20 @@
+################################################################################
+#
+# rtl8723bu
+#
+################################################################################
+
+RTL8723BU_VERSION = b922079a090dcaad58179d478442ff97f18521c9
+RTL8723BU_SITE = $(call github,lwfinger,rtl8723bu,$(RTL8723BU_VERSION))
+RTL8723BU_LICENSE = GPL-2.0, proprietary (*.bin firmware blobs)
+
+RTL8723BU_MODULE_MAKE_OPTS = \
+       KVER=$(LINUX_VERSION_PROBED) \
+       KSRC=$(LINUX_DIR)
+
+define RTL8723BU_INSTALL_TARGET_CMDS
+       $(INSTALL) -D -m 644 $(@D)/rtl8723b_fw.bin $(TARGET_DIR)/lib/firmware/rtlwifi/rtl8723b_fw.bin
+endef
+
+$(eval $(kernel-module))
+$(eval $(generic-package))