source "package/read-edid/Config.in"
source "package/rng-tools/Config.in"
source "package/rpi-userland/Config.in"
+ source "package/rtl8188eu/Config.in"
source "package/rtl8821au/Config.in"
source "package/sane-backends/Config.in"
source "package/sdparm/Config.in"
--- /dev/null
+config BR2_PACKAGE_RTL8188EU
+ bool "rtl8188eu"
+ depends on BR2_LINUX_KERNEL
+ help
+ A standalone driver for the RTL8188EU USB Wi-Fi adapter.
+ This is needed only for Linux kernels before 3.12.
+ Since 3.12, there is a (staging) driver in mainline, with a similar
+ codebase.
+
+ Make sure your target kernel has the CONFIG_WIRELESS_EXT config
+ option enabled.
+
+ Note: this package needs a firmware loading mechanism to load the
+ binary blob for the chip to work.
+
+ https://github.com/lwfinger/rtl8188eu
+
+comment "rtl8188eu needs a Linux kernel to be built"
+ depends on !BR2_LINUX_KERNEL
--- /dev/null
+################################################################################
+#
+# rtl8188eu
+#
+################################################################################
+
+RTL8188EU_VERSION = 3091828c8f4b4a01cbec6025128bf77e6e7b9f97
+RTL8188EU_SITE = $(call github,lwfinger,rtl8188eu,$(RTL8188EU_VERSION))
+RTL8188EU_LICENSE = GPLv2, proprietary (rtl8188eufw.bin firmware blob)
+RTL8188EU_LICENSE_FILES = COPYING
+RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
+
+$(eval $(kernel-module))
+
+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 $(generic-package))