add ipc 1.23.02.27
authorKoen Kooi <k-kooi@ti.com>
Wed, 6 Jul 2011 08:55:54 +0000 (09:55 +0100)
committerKoen Kooi <k-kooi@ti.com>
Wed, 6 Jul 2011 14:34:44 +0000 (15:34 +0100)
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes-ti/ipc/ti-ipc.inc [new file with mode: 0644]
recipes-ti/ipc/ti-ipc/ipc.pc [new file with mode: 0644]
recipes-ti/ipc/ti-ipc_1.23.02.27.bb [new file with mode: 0644]

diff --git a/recipes-ti/ipc/ti-ipc.inc b/recipes-ti/ipc/ti-ipc.inc
new file mode 100644 (file)
index 0000000..8d1b802
--- /dev/null
@@ -0,0 +1,36 @@
+DESCRIPTION = "TI Inter Process Ccommunication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
+HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/index.html"
+
+SECTION = "devel"
+LICENSE = "BSD" 
+
+require ../includes/ti-paths.inc
+require ../includes/ti-staging.inc
+require ../includes/ti-eula-unpack.inc
+
+S = "${WORKDIR}/ipc_${PV}"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc_setuplinux_${PV}.bin;name=ipcbin"
+
+SRC_URI =+ "file://ipc.pc"
+
+DEPENDS = "ti-sysbios ti-cgt6x ti-xdctools"
+
+BINFILE="ipc_setuplinux_${PV}.bin"
+TI_BIN_UNPK_CMDS="Y: q:workdir:Y"
+
+do_configure() {
+    sed -i -e s:@VERSION@:${PV}:g ${WORKDIR}/ipc.pc
+    
+    cp ${WORKDIR}/ipc.pc ${S}
+}
+
+do_install() {
+    install -d ${D}${IPC_INSTALL_DIR_RECIPE}
+    cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE}
+   
+    install -d ${D}/${libdir}/pkgconfig
+    install ${S}/ipc.pc ${D}/${libdir}/pkgconfig/
+}
+
+FILES_ti-ipc-dev = "${libdir}/*"
diff --git a/recipes-ti/ipc/ti-ipc/ipc.pc b/recipes-ti/ipc/ti-ipc/ipc.pc
new file mode 100644 (file)
index 0000000..1a8c52d
--- /dev/null
@@ -0,0 +1,8 @@
+prefix=/../../ipc_@VERSION@
+includedir=${prefix}/ti/ipc
+
+Name: TI IPC
+Description: TI ARM-DSP IPC (Inter Processor Communication) 
+Version: @VERSION@
+Requires: 
+Cflags: -I${includedir}
diff --git a/recipes-ti/ipc/ti-ipc_1.23.02.27.bb b/recipes-ti/ipc/ti-ipc_1.23.02.27.bb
new file mode 100644 (file)
index 0000000..2176b13
--- /dev/null
@@ -0,0 +1,9 @@
+require ti-ipc.inc
+
+LIC_FILES_CHKSUM = "file://ipc_1_23_02_27_manifest.html;md5=74cbdd9a526809df81e080f19b36eec7"
+
+PV = "1_23_02_27"
+
+SRC_URI[ipcbin.md5sum] = "8c45f6a81cef62f9717335911ee1c9cd"
+SRC_URI[ipcbin.sha256sum] = "b16f29ef016819fe0632468e2f756e05508143cbc732bcaabd269571163b568e"
+