mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] rtl8188eu: New package for an out-of-tree wifi driver
@ 2021-03-15  9:26 Uwe Kleine-König
  0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2021-03-15  9:26 UTC (permalink / raw)
  To: ptxdist

The hardware is supported in Linux mainline, but has no support for AP
mode. So you have to stick to the externally maintained driver added
here for some use cases.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 rules/rtl8188eu.in   |  9 ++++++
 rules/rtl8188eu.make | 65 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)
 create mode 100644 rules/rtl8188eu.in
 create mode 100644 rules/rtl8188eu.make

diff --git a/rules/rtl8188eu.in b/rules/rtl8188eu.in
new file mode 100644
index 000000000000..1284c0cdd36e
--- /dev/null
+++ b/rules/rtl8188eu.in
@@ -0,0 +1,9 @@
+## SECTION=kernel
+
+config RTL8188EU
+	tristate
+	select KERNEL
+	prompt "rtl8188eu"
+	help
+	  Kernel module to support some Realtek USB wifi dongles;
+	  taken from https://github.com/lwfinger/rtl8188eu .
diff --git a/rules/rtl8188eu.make b/rules/rtl8188eu.make
new file mode 100644
index 000000000000..25d6288e7079
--- /dev/null
+++ b/rules/rtl8188eu.make
@@ -0,0 +1,65 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_RTL8188EU) += rtl8188eu
+
+#
+# Paths and names and versions
+#
+RTL8188EU_VERSION	:= 20210304-780-g6d74135f34d3
+RTL8188EU_MD5		:= 64c077f1b7855708369654a1d519a3b5
+RTL8188EU		:= rtl8188eu-$(RTL8188EU_VERSION)
+RTL8188EU_URL		:= https://github.com/lwfinger/rtl8188eu/archive/$(RTL8188EU_VERSION).tar.gz
+RTL8188EU_SOURCE	:= $(SRCDIR)/$(RTL8188EU).tar.gz
+RTL8188EU_DIR		:= $(BUILDDIR)/$(RTL8188EU)
+RTL8188EU_LICENSE	:= GPL-2.0
+RTL8188EU_LICENSE_FILES	:= file://COPYING;md5=4fbd65380cdd255951079008b364516c
+
+ifneq ($(filter $(if $(PTX_COLLECTION),y,y m),$(PTXCONF_RTL8188EU)),)
+$(STATEDIR)/kernel.targetinstall.post: $(STATEDIR)/rtl8188eu.targetinstall
+endif
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+RTL8188EU_WRAPPER_BLACKLIST = $(KERNEL_WRAPPER_BLACKLIST)
+
+RTL8188EU_CONF_TOOL := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+RTL8188EU_MAKE_OPT = \
+	$(KERNEL_MODULE_OPT) \
+	-C $(KERNEL_DIR) \
+	M=$(RTL8188EU_DIR) \
+	modules
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/rtl8188eu.install:
+	@$(call targetinfo)
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/rtl8188eu.targetinstall:
+	@$(call targetinfo)
+	@$(call compile, RTL8188EU, $(RTL8188EU_MAKE_OPT)_install)
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-15  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15  9:26 [ptxdist] [PATCH] rtl8188eu: New package for an out-of-tree wifi driver Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox