kumquat-buildroot/package/rtl8188eu/rtl8188eu.mk
TIAN Yuanhao f307337446 package/rtl8188eu: enable required kernel options
Enable Linux kernel configuration options required by the driver.

Fixes:
 - http://autobuild.buildroot.org/results/951/9514704d6d44fc1b5dd188eac06b269427d3dee2
 - http://autobuild.buildroot.org/results/9ea/9ea060cc35e859ebc73c65fe2d1f7478f9b4fa8d
 - http://autobuild.buildroot.org/results/658/658c06f8125613b56511d3351cdfd3d8e19d48da

Reported-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-05-13 23:54:14 +02:00

29 lines
983 B
Makefile

################################################################################
#
# rtl8188eu
#
################################################################################
RTL8188EU_VERSION = 903b6fcb821465fe9c63e83416080df70c1c3c90
RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION))
RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob)
RTL8188EU_LICENSE_FILES = COPYING
RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
define RTL8188EU_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
$(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT)
$(call KCONFIG_ENABLE_OPT,CONFIG_USB)
endef
define RTL8188EU_INSTALL_FIRMWARE
$(INSTALL) -D -m 644 $(@D)/rtl8188eufw.bin \
$(TARGET_DIR)/lib/firmware/rtlwifi/rtl8188eufw.bin
endef
RTL8188EU_POST_INSTALL_TARGET_HOOKS += RTL8188EU_INSTALL_FIRMWARE
$(eval $(kernel-module))
$(eval $(generic-package))