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>
This commit is contained in:
TIAN Yuanhao 2022-05-09 08:30:31 -07:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 2712e32028
commit f307337446
2 changed files with 10 additions and 0 deletions
package/rtl8188eu

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_RTL8188EU
bool "rtl8188eu"
depends on !BR2_s390x
depends on BR2_LINUX_KERNEL
help
A standalone driver for the RTL8188EU USB Wi-Fi adapter.
@ -16,4 +17,5 @@ config BR2_PACKAGE_RTL8188EU
https://github.com/lwfinger/rtl8188eu
comment "rtl8188eu needs a Linux kernel to be built"
depends on !BR2_s390x
depends on !BR2_LINUX_KERNEL

View File

@ -10,6 +10,14 @@ 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