From a9fe62d130146ed94dc248f35c563c1e76206517 Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Fri, 16 Jan 2015 18:20:26 +0000 Subject: multiprocmgr: Update to new version of MPM 2.0.1.7 - Recipe split into main and test recipes. - Added dependency on mpm-transport & libdaemon & syslog-ng - Added startup scripts for daemon - Removed PR Signed-off-by: Sam Nelson Signed-off-by: Denys Dmytriyenko --- recipes-ti/multiprocmgr/multiprocmgr_git.bb | 34 +++++++++++++++++++---------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'recipes-ti/multiprocmgr/multiprocmgr_git.bb') diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb b/recipes-ti/multiprocmgr/multiprocmgr_git.bb index 3f2e52c6..e1c4f2fd 100644 --- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb +++ b/recipes-ti/multiprocmgr/multiprocmgr_git.bb @@ -1,20 +1,32 @@ DESCRIPTION = "TI Multiproc Manager for KeyStone II" -HOMEPAGE = "http://gtgit01.gt.design.ti.com/git/?p=projects/multiprocmgr.git;a=summary" -LICENSE = "BSD & MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce208c498eb9669223724dc9c1d8fe4" -SECTION = "console" -COMPATIBLE_MACHINE = "keystone" +SUMMARY = "Provides download, debug and other utilities for other cores in the SOC like DSP" -PR = "r1" +include multiprocmgr.inc -BRANCH ?= "master" -SRCREV = "8a97fb5c2c06d5f02d30106629f27fe0ca8a4f95" +DEPENDS = "mpm-transport libdaemon" +RDEPENDS_${PN} = "syslog-ng" -SRC_URI = "git://gtgit01.gt.design.ti.com/git/projects/multiprocmgr.git;protocol=git;branch=${BRANCH}" -S = "${WORKDIR}/git" +CC += "-I${STAGING_KERNEL_DIR}/include" + +INITSCRIPT_NAME = "mpmsrv-daemon.sh" +INITSCRIPT_PARAMS = "defaults 10" + +inherit update-rc.d do_install() { install -d ${D}${bindir}/ - install -c -m 755 ${S}/mpmsrv ${D}${bindir}/mpmsrv + install -c -m 755 ${S}/bin/mpmsrv ${D}${bindir}/mpmsrv + install -c -m 755 ${S}/bin/mpmcl ${D}${bindir}/mpmcl + + install -d ${D}${sysconfdir}/init.d/ + install -c -m 755 ${S}/scripts/mpmsrv-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} + install -d ${D}${sysconfdir}/mpm/ + install -c -m 755 ${S}/scripts/crash_callback.sh ${D}${sysconfdir}/mpm/crash_callback.sh + + install -d ${D}${includedir}/ + install -c -m 755 ${S}/include/* ${D}${includedir}/ + + install -d ${D}${libdir}/ + cp -a ${S}/lib/* ${D}${libdir}/ } -- cgit v1.2.3-54-g00ecf