Skip to contentSkip to conversation

ti-ipc-examples: Remove DSP/BIOS IPC examples

PATCH New Andrew Davis 1 participant 1 message Nov 8, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-ipc-examples: Remove DSP/BIOS IPC examples

This IPC example is no longer supported nor recommended for new designs. The documentation is no not available either (was on Processors Wiki). Remove this example.

---
 ...Mgr-sys_errlist-has-been-deprecated-.patch | 40 ---------------
 .../ipc/ti-ipc-examples-linux_git.bb          | 49 -------------------
 .../recipes-ti/ipc/ti-ipc-examples.inc        | 31 ------------
 .../recipes-ti/ipc/ti-ipc-examples_git.bb     | 44 -----------------
 4 files changed, 164 deletions(-)
 delete mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch
 delete mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb
 delete mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc
 delete mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb
meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch deleted +0 -40
deleted file mode 100644
index ea514695..00000000
@@ -1,40 +0,0 @@
-From cca4fd812959a0cd241dd3bbebfd461ece94c9b8 Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <[email protected]>
-Date: Mon, 29 Mar 2021 19:42:00 -0400
-Subject: [PATCH] examples/ClusterMgr: sys_errlist[] has been deprecated in
- glibc
-
-Use strerror() instead.
-
-Upstream-Status: Pending
-
-Signed-off-by: Denys Dmytriyenko <[email protected]>
----
- src/examples/templates/ex46_graph/manager/ClusterMgr.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/examples/templates/ex46_graph/manager/ClusterMgr.c b/src/examples/templates/ex46_graph/manager/ClusterMgr.c
-index 19216c9..a1fa679 100644
---- a/src/examples/templates/ex46_graph/manager/ClusterMgr.c
-+++ b/src/examples/templates/ex46_graph/manager/ClusterMgr.c
-@@ -714,7 +714,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait)
-     pid = fork();
- 
-     if (pid == -1) {
--        LOG "CM_system: fork error: %s\n", sys_errlist[errno] LOGF
-+        LOG "CM_system: fork error: %s\n", strerror(errno) LOGF
-         status = -1;
-         goto leave;
-     }
-@@ -739,7 +739,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait)
-     else {
-         /* overlay a new executable */
-         execvp(argv[0], argv);
--        LOG "CM_system: execvp error: %s\n", sys_errlist[errno] LOGF
-+        LOG "CM_system: execvp error: %s\n", strerror(errno) LOGF
-         status = -1;
-     }
- 
--- 
-2.7.4
-
meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb deleted +0 -49

49 lines not on this page · raw message

meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc deleted +0 -31
deleted file mode 100644
index 09352505..00000000
@@ -1,31 +0,0 @@
-HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC"
-require recipes-ti/ipc/ti-ipc-common.inc
-require ti-ipc-rtos.inc
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a"
-
-INSANE_SKIP:${PN} += "arch"
-
-ALLOW_EMPTY:${PN} = "1"
-
-IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
-
-do_compile() {
-
-  cd ${S_ipc-examples}/src
-  oe_runmake .examples \
-    IPCTOOLS="${S_ipc-metadata}/src/etc"
-
-  for alt_platform in ${ALT_PLATFORM}; do
-    oe_runmake .examples "PLATFORM=${alt_platform}" \
-      IPCTOOLS="${S_ipc-metadata}/src/etc"
-  done
-}
-
-do_install() {
-  cd ${S_ipc-examples}/src
-  IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
-}
-
-INHIBIT_PACKAGE_STRIP = "1"
meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb deleted +0 -44

44 lines not on this page · raw message

Signature · 1 line
2.39.2