summaryrefslogtreecommitdiffstats
path: root/recipes-ti/ipc/ti-ipc_3.00.00.bb
blob: c07b7f9b6b21058a976b69d6bcf5544a46788ce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
DESCRIPTION="This support the communication between processors \
in a multi-processor environment and communication to peripherals. \
This communication includes message passing, streams, and linked lists. \
These modules work transparently in both uni-processor and multi-processor \
configurations."

HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"

LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://products.mak;beginline=2;endline=30;md5=195feadf798bb4165bcb1a23ffd50dbb"
SECTION = "console"
COMPATIBLE_MACHINE = "keystone"
TARGET_PLATFORM = "tci6638"

PR = "r0"

BRANCH ?= "master"
# The following commit corresponds to 3.00.04.29
SRCREV = "12794ea33870b782bffe1fe4398e86e93fb64396"

SRC_URI = " \
    git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH} \
    file://tiipclad-daemon.sh"

S = "${WORKDIR}/git"

export PLATFORM = "${TARGET_PLATFORM}"

export PARALLEL_MAKE = ""

PACKAGES =+ "${PN}-test"

FILES_${PN}-test = " \
    ${bindir}/NameServerApp \
    ${bindir}/MessageQApp \
    ${bindir}/MessageQMulti \
    ${bindir}/ping_rpmsg"

DEPENDS += "virtual/kernel"

EXTRA_OECONF += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR}"
inherit autotools

INITSCRIPT_NAME = "tiipclad-daemon.sh"
INITSCRIPT_PARAMS = "defaults 10"

inherit update-rc.d

do_install_append() {
	install -d ${D}${sysconfdir}/init.d/
	install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
}