diff options
Diffstat (limited to 'recipes-ti/ipc/ti-ipc-examples.inc')
-rw-r--r-- | recipes-ti/ipc/ti-ipc-examples.inc | 31 |
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 @@ | |||
1 | HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC" | ||
2 | require ti-ipc-common.inc | ||
3 | require ti-ipc-rtos.inc | ||
4 | |||
5 | LICENSE = "BSD" | ||
6 | LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=fb83580b16bce88e8ed568a6005c8f02" | ||
7 | |||
8 | INSANE_SKIP_${PN} += "arch" | ||
9 | |||
10 | ALLOW_EMPTY_${PN} = "1" | ||
11 | |||
12 | IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" | ||
13 | |||
14 | do_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 | |||
26 | do_install() { | ||
27 | cd ${S_ipc-examples}/src | ||
28 | IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` | ||
29 | } | ||
30 | |||
31 | INHIBIT_PACKAGE_STRIP = "1" | ||