the recipe is renamed to ti-multiprocmgr and updated to support
mpm daemon and kernel dependancies.

Signed-off-by: Sajesh Kumar Saran <[email protected]>
---
 .../recipes-bsp/multiprocmgr/multiprocmgr_git.bb   |   20 ----------
 .../ti-multiprocmgr/ti-multiprocmgr_git.bb         |   42 ++++++++++++++++++++
 2 files changed, 42 insertions(+), 20 deletions(-)
 delete mode 100644 
meta-arago-extras/recipes-bsp/multiprocmgr/multiprocmgr_git.bb
 create mode 100644 
meta-arago-extras/recipes-bsp/ti-multiprocmgr/ti-multiprocmgr_git.bb

diff --git a/meta-arago-extras/recipes-bsp/multiprocmgr/multiprocmgr_git.bb 
b/meta-arago-extras/recipes-bsp/multiprocmgr/multiprocmgr_git.bb
deleted file mode 100644
index 3f2e52c..0000000
--- a/meta-arago-extras/recipes-bsp/multiprocmgr/multiprocmgr_git.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-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"
-
-PR = "r1"
-
-BRANCH ?= "master"
-SRCREV = "8a97fb5c2c06d5f02d30106629f27fe0ca8a4f95"
-
-SRC_URI = 
"git://gtgit01.gt.design.ti.com/git/projects/multiprocmgr.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-       install -d ${D}${bindir}/
-       install -c -m 755 ${S}/mpmsrv ${D}${bindir}/mpmsrv
-}
diff --git 
a/meta-arago-extras/recipes-bsp/ti-multiprocmgr/ti-multiprocmgr_git.bb 
b/meta-arago-extras/recipes-bsp/ti-multiprocmgr/ti-multiprocmgr_git.bb
new file mode 100644
index 0000000..951dc3c
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-multiprocmgr/ti-multiprocmgr_git.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "TI Multiproc Manager for KeyStone II"
+HOMEPAGE = 
"http://git.ti.com/cgit/cgit.cgi/keystone-linux/multi-proc-manager.git";
+LICENSE = "BSD & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce208c498eb9669223724dc9c1d8fe4"
+SECTION = "console"
+COMPATIBLE_MACHINE = "keystone"
+
+DEPENDS = "libdaemon virtual/kernel"
+RDEPENDS = "syslog-ng"
+
+PR = "r6"
+
+BRANCH ?= "master"
+SRCREV = "${AUTOREV}"
+
+SRC_URI = 
"git://git.ti.com/keystone-linux/multi-proc-manager.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}/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}/mpmsrv-daemon.sh 
${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+       install -d ${D}${sysconfdir}/mpm/
+       install -c -m 755 ${S}/mpm_config.json 
${D}${sysconfdir}/mpm/mpm_config.json
+
+       install -d ${D}${includedir}/
+       install -c -m 755 ${S}/include/* ${D}${includedir}/
+
+       install -d ${D}${libdir}/
+       install -c -m 755 ${S}/lib/* ${D}${libdir}/
+}
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to