kumquat-buildroot/package/rtl8723bs/rtl8723bs.mk
Ezequiel Garcia eeecbe16e2 rtl8723bs: new package
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-01-29 16:19:58 +01:00

28 lines
856 B
Makefile

################################################################################
#
# 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))