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 <[email protected]> --- ...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 diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch deleted file mode 100644 index ea514695..00000000 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch +++ /dev/null @@ -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 - diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb deleted file mode 100644 index 81706592..00000000 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb +++ /dev/null @@ -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}/*" diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc deleted file mode 100644 index 09352505..00000000 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc +++ /dev/null @@ -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" diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb deleted file mode 100644 index bcc8674e..00000000 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb +++ /dev/null @@ -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_*" -- 2.39.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18064): https://lists.yoctoproject.org/g/meta-ti/message/18064 Mute This Topic: https://lists.yoctoproject.org/mt/109471079/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
