summaryrefslogtreecommitdiffstats
path: root/recipes-ti/ipc/ti-ipc-examples.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-ti/ipc/ti-ipc-examples.inc')
-rw-r--r--recipes-ti/ipc/ti-ipc-examples.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-ti/ipc/ti-ipc-examples.inc b/recipes-ti/ipc/ti-ipc-examples.inc
new file mode 100644
index 00000000..c9fe2cbc
--- /dev/null
+++ b/recipes-ti/ipc/ti-ipc-examples.inc
@@ -0,0 +1,31 @@
1HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC"
2require ti-ipc-common.inc
3require ti-ipc-rtos.inc
4
5LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed568a6005c8f02"
7
8INSANE_SKIP_${PN} += "arch"
9
10ALLOW_EMPTY_${PN} = "1"
11
12IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
13
14do_compile() {
15
16 cd ${S_ipc-examples}/src
17 oe_runmake .examples \
18 IPCTOOLS="${S_ipc-metadata}/src/etc"
19
20 if [ ! -z ${ALT_PLATFORM} ]; then
21 oe_runmake .examples "PLATFORM=${ALT_PLATFORM}" \
22 IPCTOOLS="${S_ipc-metadata}/src/etc"
23 fi
24}
25
26do_install() {
27 cd ${S_ipc-examples}/src
28 IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
29}
30
31INHIBIT_PACKAGE_STRIP = "1"