[Buildroot] [git commit] package/rtl8192eu: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Oct 30 20:36:04 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=ad62fa3acb4faff72385e841af700f09985ce07e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 DEVELOPERS                       |  1 +
 package/Config.in                |  1 +
 package/rtl8192eu/Config.in      | 13 +++++++++++++
 package/rtl8192eu/rtl8192eu.hash |  2 ++
 package/rtl8192eu/rtl8192eu.mk   | 23 +++++++++++++++++++++++
 5 files changed, 40 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index f82a23b83e..8dbd0e0ebb 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1411,6 +1411,7 @@ F:	package/python-typing-inspect/
 F:	package/python-weasyprint/
 F:	package/python-yarl/
 F:	package/python-zopfli/
+F:	package/rtl8192eu/
 F:	package/serd/
 F:	package/sord/
 F:	package/sratom/
diff --git a/package/Config.in b/package/Config.in
index d691471877..1f4cfa7cfd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -579,6 +579,7 @@ endmenu
 	source "package/rtl8188eu/Config.in"
 	source "package/rtl8189es/Config.in"
 	source "package/rtl8189fs/Config.in"
+	source "package/rtl8192eu/Config.in"
 	source "package/rtl8723bu/Config.in"
 	source "package/rtl8723ds/Config.in"
 	source "package/rtl8812au-aircrack-ng/Config.in"
diff --git a/package/rtl8192eu/Config.in b/package/rtl8192eu/Config.in
new file mode 100644
index 0000000000..4d71b711c3
--- /dev/null
+++ b/package/rtl8192eu/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_RTL8192EU
+	bool "rtl8192eu"
+	depends on BR2_LINUX_KERNEL
+	help
+	  A standalone driver for the RTL8192EU USB Wi-Fi adapter.
+
+	  Make sure your target kernel has the CONFIG_WIRELESS_EXT
+	  config option enabled.
+
+	  https://github.com/clnhub/rtl8192eu-linux
+
+comment "rtl8192eu needs a Linux kernel to be built"
+	depends on !BR2_LINUX_KERNEL
diff --git a/package/rtl8192eu/rtl8192eu.hash b/package/rtl8192eu/rtl8192eu.hash
new file mode 100644
index 0000000000..f616def194
--- /dev/null
+++ b/package/rtl8192eu/rtl8192eu.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256  75b523ff1cda54d7cd8734a043b2d145231ab81fcc13d3edcd80e00d59201409  rtl8192eu-1e15b6d451731bc4d3ffd587194dc4bd0f286ac0.tar.gz
diff --git a/package/rtl8192eu/rtl8192eu.mk b/package/rtl8192eu/rtl8192eu.mk
new file mode 100644
index 0000000000..0e8ffea5cb
--- /dev/null
+++ b/package/rtl8192eu/rtl8192eu.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# rtl8192eu
+#
+################################################################################
+
+RTL8192EU_VERSION = 1e15b6d451731bc4d3ffd587194dc4bd0f286ac0
+RTL8192EU_SITE = $(call github,clnhub,rtl8192eu-linux,$(RTL8192EU_VERSION))
+RTL8192EU_LICENSE = GPL-2.0
+RTL8192EU_MODULE_MAKE_OPTS = \
+	CONFIG_RTL8192EU=m \
+	USER_EXTRA_CFLAGS="-Wno-error"
+
+define RTL8192EU_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
+
+$(eval $(kernel-module))
+$(eval $(generic-package))



More information about the buildroot mailing list