1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

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.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Andrew Davis
2024-11-08 14:28:48 -06:00
committed by Ryan Eatmon
parent f06324bc16
commit 9c8eec8733
4 changed files with 0 additions and 164 deletions

View File

@@ -1,40 +0,0 @@
From cca4fd812959a0cd241dd3bbebfd461ece94c9b8 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denis@denix.org>
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 <denis@denix.org>
---
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

View File

@@ -1,49 +0,0 @@
DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios"
require ti-ipc-examples.inc
SRC_URI += "file://0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch;patchdir=../git/ipc-examples"
DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native"
do_compile:append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="linux" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
fi
oe_runmake -C examples all HOSTOS="linux" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake -C examples all HOSTOS="linux" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
PLATFORM="${ALT_PLATFORM}"
fi
fi
}
do_install:append() {
cd ${S_ipc-examples}/src
if [ "${PLATFORM}" != "UNKNOWN" ]; then
# Install directory for linux examples
install -d ${D}${bindir}/ipc/examples
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \
PLATFORM="${ALT_PLATFORM}"
fi
fi
}
FILES:${PN} += "${bindir}/*"

View File

@@ -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"

View File

@@ -1,44 +0,0 @@
DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux"
require ti-ipc-examples.inc
DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native"
do_compile:append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
for alt_platform in ${ALT_PLATFORM}; do
oe_runmake extract PLATFORM="${alt_platform}" HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
done
oe_runmake -C examples all HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
for alt_platform in ${ALT_PLATFORM}; do
oe_runmake -C examples all HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${alt_platform}"
done
fi
}
do_install:append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
# Install directory for bios examples
install -d ${D}/ipc_${IPC_VERSION}/examples/bios
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
for alt_platform in ${ALT_PLATFORM}; do
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \
PLATFORM="${alt_platform}"
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \
PLATFORM="${alt_platform}"
done
fi
}
FILES:${PN} += "ipc_*"