Skip to contentSkip to conversation

ti-ipc: Add recipe for ti-ipc version 3.0.x

PATCH New Sam Nelson 1 participant 1 message Feb 11, 2014

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 ti-ipc: Add recipe for ti-ipc version 3.0.x

- Supports communication between processors in TI keystone architecture

---
 recipes-ti/ipc/files/tiipclad-daemon.sh |   24 ++++++++++++++++
 recipes-ti/ipc/ti-ipc_3.00.00.bb        |   48 +++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)
 create mode 100755 recipes-ti/ipc/files/tiipclad-daemon.sh
 create mode 100644 recipes-ti/ipc/ti-ipc_3.00.00.bb
recipes-ti/ipc/files/tiipclad-daemon.sh new file +24 -0
new file mode 100755
index 0000000..54b3888
@@ -0,0 +1,24 @@
+#! /bin/sh
+
+tiipclad_daemon=/usr/bin/lad_tci6638
+tiipclad_params=lad.txt
+
+test -x "$tiipclad_daemon" || exit 0
+
+case "$1" in
+  start)
+    echo -n "Starting tiipclad daemon"
+    start-stop-daemon --start --quiet --exec $tiipclad_daemon $tiipclad_params
+    echo "."
+    ;;
+  stop)
+    echo -n "Stopping tiipclad daemon"
+    start-stop-daemon --stop --quiet --pidfile /var/run/tiipclad.pid
+    echo "."
+    ;;
+  *)
+    echo "Usage: /etc/init.d/tiipclad-daemon.sh {start|stop}"
+    exit 1
+esac
+
+exit 0
recipes-ti/ipc/ti-ipc_3.00.00.bb new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
1.7.9.5