mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] rtl8188eu: New package for an out-of-tree wifi driver
Date: Mon, 15 Mar 2021 10:26:56 +0100	[thread overview]
Message-ID: <20210315092656.24575-1-u.kleine-koenig@pengutronix.de> (raw)

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

                 reply	other threads:[~2021-03-15  9:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210315092656.24575-1-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox