]> code.ossystems Code Review - meta-freescale.git/commitdiff
weston: Move i.MX-specific config file to recipe
authorTom Hochstein <tom.hochstein@nxp.com>
Mon, 29 Oct 2018 14:17:01 +0000 (09:17 -0500)
committerTom Hochstein <tom.hochstein@nxp.com>
Tue, 30 Oct 2018 20:11:12 +0000 (15:11 -0500)
Make it easier to customize the config file.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/wayland/weston/imx/weston.ini [new file with mode: 0644]
recipes-graphics/wayland/weston_4.0.0.imx.bb

diff --git a/recipes-graphics/wayland/weston/imx/weston.ini b/recipes-graphics/wayland/weston/imx/weston.ini
new file mode 100644 (file)
index 0000000..d6ad40d
--- /dev/null
@@ -0,0 +1,20 @@
+[core]
+# i.MX: Disable idle timeout
+idle-time=0
+
+#[output]
+#name=HDMI-A-1
+#mode=1920x1080@60
+#transform=90
+
+#[output]
+#name=HDMI-A-2
+#mode=off
+#       WIDTHxHEIGHT    Resolution size width and height in pixels
+#       off             Disables the output
+#       preferred       Uses the preferred mode
+#       current         Uses the current crt controller mode
+#transform=90
+
+[screen-share]
+command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
index e80e7e0aca5cc4a55bef7bd69ee41df5467c8784..1a31016a62bfca4f57e97a683d9f1827838a1c63 100644 (file)
@@ -9,6 +9,7 @@ DEFAULT_PREFERENCE = "-1"
 
 SRCBRANCH = "weston-imx-4.0"
 SRC_URI = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=https;branch=${SRCBRANCH} \
+           file://weston.ini \
            file://weston.png \
            file://weston.desktop \
            file://0001-make-error-portable.patch \
@@ -111,8 +112,7 @@ do_install_append() {
        fi
 
        # install default weston.ini
-       install -d ${D}${sysconfdir}/xdg/weston
-       install -m 0644 ${B}/weston.ini ${D}${sysconfdir}/xdg/weston
+       install -D -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini
 }
 
 PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \