All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Davis <afd@ti.com>
To: Denys Dmytriyenko <denys@konsulko.com>,
	Ryan Eatmon <reatmon@ti.com>, <meta-arago@lists.yoctoproject.org>
Cc: Andrew Davis <afd@ti.com>
Subject: [meta-arago][master/kirkstone][PATCH v2 6/6] ti-tisdk: Remove uio-module-drv kernel module
Date: Tue, 11 Oct 2022 12:53:20 -0500	[thread overview]
Message-ID: <20221011175320.26843-7-afd@ti.com> (raw)
In-Reply-To: <20221011175320.26843-1-afd@ti.com>

UIO drivers are generally frowned upon and were only used here for some
K2 devices and PRUs before RPMSG. With these uses finally gone, lets
remove this out-of-tree module.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 .../conf/distro/include/arago-source-ipk.inc  |  3 --
 ...ackagegroup-arago-tisdk-addons-sdk-host.bb |  9 ------
 .../packagegroup-arago-tisdk-addons.bb        | 20 -------------
 .../ti-tisdk-makefile/Makefile_uio-module-drv | 28 -------------------
 .../ti-tisdk-makefile_1.0.bb                  |  4 ---
 5 files changed, 64 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_uio-module-drv

diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
index a709fd00..5e5aad48 100644
--- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
+++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
@@ -334,9 +334,6 @@ SRCIPK_INSTALL_DIR:pn-boot-monitor ?= "board-support/${PN}-${PV}"
 CREATE_SRCIPK:pn-hplib-mod ?= "1"
 SRCIPK_INSTALL_DIR:pn-hplib-mod ?= "board-support/extra-drivers/${PN}-${PV}"
 
-CREATE_SRCIPK:pn-uio-module-drv ?= "1"
-SRCIPK_INSTALL_DIR:pn-uio-module-drv ?= "board-support/extra-drivers/${PN}-${PV}"
-
 CREATE_SRCIPK:pn-pru-icss ?= "1"
 SRCIPK_INSTALL_DIR:pn-pru-icss ?= "example-applications/${PN}-${PV}"
 
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
index 1814137b..9efc2cae 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
@@ -50,7 +50,6 @@ UTILS:append:am64xx = " \
 EXTRA_LIBS = ""
 
 EXTRA_LIBS:append:omap-a15 = " \
-    uio-module-drv-source \
     big-data-ipc-demo-source \
 "
 
@@ -59,14 +58,6 @@ EXTRA_LIBS:append:omap-a15 = " \
 #    gdbserverproxy-module-drv-source \
 #"
 
-EXTRA_LIBS:append:ti33x = " \
-    uio-module-drv-source \
-"
-
-EXTRA_LIBS:append:ti43x = " \
-    uio-module-drv-source \
-"
-
 PDM_ANOMALY_PKG_SRC = "\
     ${@bb.utils.contains('MACHINE_FEATURES', 'gpu', 'pdm-anomaly-detection-source', '', d)} \
 "
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
index f8c07164..f4e72a89 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
@@ -34,16 +34,12 @@ UTILS_DSP = " \
 UTILS:append:ti33x = " mmc-utils \
                        switch-config \
                        pru-icss \
-                       uio-module-drv-test \
-                       uio-test-pruss \
 "
 
 UTILS:append:ti43x = " mmc-utils \
                        switch-config \
                        libdrm-omap \
                        pru-icss \
-                       uio-module-drv-test \
-                       uio-test-pruss \
 "
 
 UTILS:append:omap-a15 = " mmc-utils \
@@ -51,8 +47,6 @@ UTILS:append:omap-a15 = " mmc-utils \
                           libdrm-omap \
                           pru-icss \
                           ti-ipc-rtos-fw \
-                          uio-test-pruss \
-                          uio-module-drv-test \
 "
 
 UTILS:append:k3 = " mmc-utils \
@@ -78,19 +72,6 @@ UTILS:append:dra7xx = " \
                         ${@bb.utils.contains('MACHINE_FEATURES','gpu','glsdk-example-apps','',d)} \
 "
 
-EXTRA_LIBS = ""
-EXTRA_LIBS:append:omap-a15 = " \
-    uio-module-drv \
-"
-
-EXTRA_LIBS:append:ti43x = " \
-    uio-module-drv \
-"
-
-EXTRA_LIBS:append:ti33x = " \
-    uio-module-drv \
-"
-
 EXTRA_PACKAGES = " \
     nodejs \
     nodejs-npm \
@@ -118,7 +99,6 @@ EXTRA_PACKAGES:append:omap-a15 = " \
 RDEPENDS:${PN} = "\
     ${UTILS} \
     ${UTILS_UBOOT_FW} \
-    ${EXTRA_LIBS} \
 "
 
 RDEPENDS:${PN}-extra = "\
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_uio-module-drv b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_uio-module-drv
deleted file mode 100644
index 544e0eb8..00000000
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_uio-module-drv
+++ /dev/null
@@ -1,28 +0,0 @@
-uio-module-drv: linux
-	@echo ================================
-	@echo      Building uio-module-drv
-	@echo ================================
-	@cd board-support/extra-drivers; \
-	cd `find . -maxdepth 1 -type d -name "uio-module-drv*"`; \
-	make ARCH=__KERNEL_ARCH__ KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR)
-
-uio-module-drv_clean:
-	@echo ================================
-	@echo      Cleaning uio-module-drv
-	@echo ================================
-	@cd board-support/extra-drivers; \
-	cd `find . -maxdepth 1 -type d -name "uio-module-drv*"`; \
-	make ARCH=__KERNEL_ARCH__ KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR) clean
-
-uio-module-drv_install:
-	@echo ================================
-	@echo      Installing uio-module-drv
-	@echo ================================
-	@if [ ! -d $(DESTDIR) ] ; then \
-		echo "The extracted target filesystem directory doesn't exist."; \
-		echo "Please run setup.sh in the SDK's root directory and then try again."; \
-		exit 1; \
-	fi
-	@cd board-support/extra-drivers; \
-	cd `find . -maxdepth 1 -type d -name "uio-module-drv*"`; \
-	make ARCH=__KERNEL_ARCH__  KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR)  INSTALL_MOD_PATH=$(DESTDIR) PREFIX=$(SDK_PATH_TARGET) INSTALL_MOD_STRIP=$(INSTALL_MOD_STRIP) modules_install
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index c4d8c408..68d0f458 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -36,7 +36,6 @@ SRC_URI = "\
     file://Makefile_opencl-examples \
     file://Makefile_boot-monitor \
     file://Makefile_hplib-mod \
-    file://Makefile_uio-module-drv \
     file://Makefile_pru-icss \
     file://Makefile_qt-opencv-opencl-opengl-multithreaded \
     file://Makefile_openmpacc-examples \
@@ -77,7 +76,6 @@ MAKEFILES:append:ti33x = " u-boot-spl \
                            cryptodev \
                            ti-sgx-ddk-km \
                            pru-icss \
-                           uio-module-drv \
 			   mmwavegesture-hmi \
                            pdm-anomaly-detection \
 "
@@ -88,7 +86,6 @@ MAKEFILES:append:ti43x = " u-boot-spl \
                            image-gallery \
                            ti-sgx-ddk-km \
                            pru-icss \
-                           uio-module-drv \
 			   mmwavegesture-hmi \
                            pdm-anomaly-detection \
 "
@@ -110,7 +107,6 @@ MAKEFILES:append:omap-a15 = " u-boot-spl \
                               pru-icss \
                               ti-gc320-driver \
                               barcode-roi \
-                              uio-module-drv \
 			      mmwavegesture-hmi \
                               pdm-anomaly-detection \
                               ti-ipc \
-- 
2.37.3



  parent reply	other threads:[~2022-10-11 17:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11 17:53 [meta-arago][master/kirkstone][PATCH v2 0/6] Deprecated recipe removals Andrew Davis
2022-10-11 17:53 ` [meta-arago][master/kirkstone][PATCH v2 1/6] ti-crypto-examples: Remove ti-crypto-examples Andrew Davis
2022-10-11 17:53 ` [meta-arago][master/kirkstone][PATCH v2 2/6] big-data-ipc-demo: Merge include file and rename Andrew Davis
2022-10-11 17:53 ` [meta-arago][master/kirkstone][PATCH v2 3/6] cmem: Remove Makefile_cmem-mod and cmem refrences Andrew Davis
2022-10-11 17:53 ` [meta-arago][master/kirkstone][PATCH v2 4/6] meta-arago: Remove remaining bits of ti-ocf-crypto-module Andrew Davis
2022-10-11 17:53 ` [meta-arago][master/kirkstone][PATCH v2 5/6] ti-pru-sw: Remove old TI-PRU-SW examples and helpers Andrew Davis
2022-10-11 17:53 ` Andrew Davis [this message]
2022-10-11 19:22 ` [meta-arago][master/kirkstone][PATCH v2 0/6] Deprecated recipe removals Denys Dmytriyenko
2022-10-24 19:08   ` Andrew Davis
2022-10-26  2:10     ` Denys Dmytriyenko

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=20221011175320.26843-7-afd@ti.com \
    --to=afd@ti.com \
    --cc=denys@konsulko.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=reatmon@ti.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.