[Buildroot] [git commit branch/2022.02.x] package/rtl8188eu: enable required kernel options
Peter Korsgaard
peter at korsgaard.com
Sat May 28 19:21:54 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=14ba7bbbab9c2561500c176e246529a14e65435b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x
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 at lucaceresoli.net>
Signed-off-by: TIAN Yuanhao <tianyuanhao3 at 163.com>
Reviewed-by: Luca Ceresoli <luca at lucaceresoli.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit f307337446ddf9024c3ba6ce17ad2f839c06c519)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/rtl8188eu/Config.in | 2 ++
package/rtl8188eu/rtl8188eu.mk | 8 ++++++++
2 files changed, 10 insertions(+)
diff --git a/package/rtl8188eu/Config.in b/package/rtl8188eu/Config.in
index 9263802e09..76d9085297 100644
--- a/package/rtl8188eu/Config.in
+++ b/package/rtl8188eu/Config.in
@@ -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
diff --git a/package/rtl8188eu/rtl8188eu.mk b/package/rtl8188eu/rtl8188eu.mk
index b2066080f3..8cc863e958 100644
--- a/package/rtl8188eu/rtl8188eu.mk
+++ b/package/rtl8188eu/rtl8188eu.mk
@@ -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
More information about the buildroot
mailing list