diff options
Diffstat (limited to 'extras/recipes-ti/ipc/ti-ipc.inc')
-rw-r--r-- | extras/recipes-ti/ipc/ti-ipc.inc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/extras/recipes-ti/ipc/ti-ipc.inc b/extras/recipes-ti/ipc/ti-ipc.inc new file mode 100644 index 00000000..8d1b8020 --- /dev/null +++ b/extras/recipes-ti/ipc/ti-ipc.inc | |||
@@ -0,0 +1,36 @@ | |||
1 | DESCRIPTION = "TI Inter Process Ccommunication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" | ||
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/index.html" | ||
3 | |||
4 | SECTION = "devel" | ||
5 | LICENSE = "BSD" | ||
6 | |||
7 | require ../includes/ti-paths.inc | ||
8 | require ../includes/ti-staging.inc | ||
9 | require ../includes/ti-eula-unpack.inc | ||
10 | |||
11 | S = "${WORKDIR}/ipc_${PV}" | ||
12 | |||
13 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc_setuplinux_${PV}.bin;name=ipcbin" | ||
14 | |||
15 | SRC_URI =+ "file://ipc.pc" | ||
16 | |||
17 | DEPENDS = "ti-sysbios ti-cgt6x ti-xdctools" | ||
18 | |||
19 | BINFILE="ipc_setuplinux_${PV}.bin" | ||
20 | TI_BIN_UNPK_CMDS="Y: q:workdir:Y" | ||
21 | |||
22 | do_configure() { | ||
23 | sed -i -e s:@VERSION@:${PV}:g ${WORKDIR}/ipc.pc | ||
24 | |||
25 | cp ${WORKDIR}/ipc.pc ${S} | ||
26 | } | ||
27 | |||
28 | do_install() { | ||
29 | install -d ${D}${IPC_INSTALL_DIR_RECIPE} | ||
30 | cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} | ||
31 | |||
32 | install -d ${D}/${libdir}/pkgconfig | ||
33 | install ${S}/ipc.pc ${D}/${libdir}/pkgconfig/ | ||
34 | } | ||
35 | |||
36 | FILES_ti-ipc-dev = "${libdir}/*" | ||