summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston-ini-conf.bbappend
diff options
context:
space:
mode:
authorHarunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>2017-12-06 15:52:15 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-08 14:06:55 +0000
commitea5dc9d8f3a51f07a09cf60446bfe915eff9157b (patch)
treec9f2f821082ed082d44473d468a185d255fa69cb /recipes-graphics/wayland/weston-ini-conf.bbappend
parent68b55dc5d4a71a762ee849aedf243626bee4c9e9 (diff)
weston-ini-conf: Add virtual display and record for CES2017 demo
In order to support IVI-Cluster demo, virtual display and gst-recorder parameter are set in weston.ini. If you want to use virtual output system, set "virtual-display" in DISTRO_FEATURES. Then the sample value is enabled. If you want to use transfer system to multi ECU via H.264, set "gst-record" in DISTRO_FEATURES. This feature is commited to DD[1]. After that he weston-ini-conf is updated. This commit is same result as that time. Note: These system are supported in R-Car M3 and H3 only. [1] https://gerrit.automotivelinux.org/gerrit/#/c/9907/ [2] https://gerrit.automotivelinux.org/gerrit/#/c/10847/ Change-Id: I1f7b9af5dc0e459aa49d336ed5ba0cebaf8adab2 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Diffstat (limited to 'recipes-graphics/wayland/weston-ini-conf.bbappend')
-rw-r--r--recipes-graphics/wayland/weston-ini-conf.bbappend15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston-ini-conf.bbappend b/recipes-graphics/wayland/weston-ini-conf.bbappend
new file mode 100644
index 000000000..2f155c022
--- /dev/null
+++ b/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -0,0 +1,15 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+#
+SRC_URI += "${@bb.utils.contains("DISTRO_FEATURES", "virtual-display", "file://virtualoutput.cfg", "",d)}"
+
+do_configure_append() {
+ if [ ${@bb.utils.contains('DISTRO_FEATURES', 'virtual-display', 'true', 'false', d)} ]; then
+ echo virtual=1 >> ${WORKDIR}/core.cfg
+ fi
+
+ if [ ${@bb.utils.contains('DISTRO_FEATURES', 'gst-record', 'true', 'false', d)} ]; then
+ echo recorder=true >> ${WORKDIR}/virtualoutput.cfg
+ fi
+}
+