rtl8723bs: new package
PATCH v3 1/1 rtl8723bs: new package
Signed-off-by Ezequiel Garcia <[email protected]>
--
Changes from v2:
* Add package to DEVELOPERS
* The firmware dir doesn't need to be created! Drop the mkdir command.
* Use a new line instead of $(sep).
Changes from v1:
* Create the firmware dir
* Use $(sep) in the install command
DEVELOPERS | 1 + package/Config.in | 1 + .../0001-rtl8723bs-add-debug-level-modparam.patch | 41 ++++++++++++++++++++++ package/rtl8723bs/Config.in | 10 ++++++ package/rtl8723bs/rtl8723bs.mk | 27 ++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 package/rtl8723bs/0001-rtl8723bs-add-debug-level-modparam.patch create mode 100644 package/rtl8723bs/Config.in create mode 100644 package/rtl8723bs/rtl8723bs.mk
DEVELOPERS +1 -0
@@ -462,6 +462,7 @@ F: package/jimtcl/ F: package/mimic/ F: package/nodm/ F: package/openbox/ +F: package/rtl8723bs/ F: package/supertuxkart/ N: Fabio Estevam <[email protected]>
package/Config.in +1 -0
@@ -446,6 +446,7 @@ endmenu source "package/rpi-userland/Config.in" source "package/rs485conf/Config.in" source "package/rtl8188eu/Config.in" + source "package/rtl8723bs/Config.in" source "package/rtl8821au/Config.in" source "package/sane-backends/Config.in" source "package/sdparm/Config.in"
package/rtl8723bs/0001-rtl8723bs-add-debug-level-modparam.patch new file +41 -0
41 lines not on this page · raw message
package/rtl8723bs/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_RTL8723BS + bool "rtl8723bs" + depends on BR2_LINUX_KERNEL + help + rtl8723bs wifi driver + + https://github.com/hadess/rtl8723bs + +comment "rtl8723bs needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL
package/rtl8723bs/rtl8723bs.mk new file +27 -0
@@ -0,0 +1,27 @@ +################################################################################ +# +# rtl8723bs +# +################################################################################ + +RTL8723BS_VERSION = 11ab92d8ccd71c80f0102828366b14ef6b676fb2 +RTL8723BS_SITE = $(call github,hadess,rtl8723bs,$(RTL8723BS_VERSION)) +RTL8723BS_LICENSE = GPLv2, proprietary (*.bin firmware blobs) + +RTL8723BS_MODULE_MAKE_OPTS = \ + CONFIG_RTL8723BS=m \ + KVER=$(LINUX_VERSION_PROBED) \ + KSRC=$(LINUX_DIR) + +RTL8723BS_BINS = rtl8723bs_ap_wowlan.bin rtl8723bs_wowlan.bin \ + rtl8723bs_bt.bin rtl8723bs_nic.bin + +define RTL8723BS_INSTALL_FIRMWARE + $(foreach bin, $(RTL8723BS_BINS), \ + $(INSTALL) -D -m 644 $(@D)/$(bin) $(TARGET_DIR)/lib/firmware/rtlwifi/$(bin) + ) +endef +RTL8723BS_POST_INSTALL_TARGET_HOOKS += RTL8723BS_INSTALL_FIRMWARE + +$(eval $(kernel-module)) +$(eval $(generic-package))
Signature · 1 line
2.11.0
PATCH v3 1/1 rtl8723bs: new package
Hello,
Quoted 1 line · Ezequiel Garcia
Signed-off-by Ezequiel Garcia <[email protected]>
Thanks, I've applied. I've split the change to the DEVELOPERS file into a separate commit before applying though.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com