aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-multimedia/mm-init/mm-init.bb
diff options
context:
space:
mode:
authorGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-04 01:00:35 +0300
committerGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-04 01:00:35 +0300
commit9baa2876e7b7b700adbdf2582b37a2894a07b129 (patch)
tree3990d17d4f5f5c33911198f1e4d741035f528329 /meta-rcar-gen3-adas/recipes-multimedia/mm-init/mm-init.bb
parentd7174e506be3bb35de41fb1b229659afdf4be822 (diff)
[multimedia] Add mm-init script which load mmngr mmngrbu modules
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-multimedia/mm-init/mm-init.bb')
-rw-r--r--meta-rcar-gen3-adas/recipes-multimedia/mm-init/mm-init.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-multimedia/mm-init/mm-init.bb b/meta-rcar-gen3-adas/recipes-multimedia/mm-init/mm-init.bb
new file mode 100644
index 0000000..3781a76
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-multimedia/mm-init/mm-init.bb
@@ -0,0 +1,16 @@
+SUMMARY = "Startup script for Renesas MM modules"
+LICENSE = "CLOSED"
+
+SRC_URI = "file://init"
+
+S = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}/${sysconfdir}/init.d
+ install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/rc.mm
+}
+
+inherit allarch update-rc.d
+
+INITSCRIPT_NAME = "rc.mm"
+INITSCRIPT_PARAMS = "start 8 5 2 . stop 21 0 1 6 ."