diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-10-29 09:17:01 -0500 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2018-10-30 15:11:12 -0500 |
commit | 708d5662dacba9b047e011271b870f95964ccdae (patch) | |
tree | 9098bca149afd69c5ed5532ba86fd0e77e17686c | |
parent | a1811f866833bd1a974193137366e4ff9bf96a59 (diff) | |
download | meta-freescale-708d5662dacba9b047e011271b870f95964ccdae.tar.gz |
weston: Move i.MX-specific config file to recipe
Make it easier to customize the config file.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-rw-r--r-- | recipes-graphics/wayland/weston/imx/weston.ini | 20 | ||||
-rw-r--r-- | recipes-graphics/wayland/weston_4.0.0.imx.bb | 4 |
2 files changed, 22 insertions, 2 deletions
diff --git a/recipes-graphics/wayland/weston/imx/weston.ini b/recipes-graphics/wayland/weston/imx/weston.ini new file mode 100644 index 00000000..d6ad40df --- /dev/null +++ b/recipes-graphics/wayland/weston/imx/weston.ini | |||
@@ -0,0 +1,20 @@ | |||
1 | [core] | ||
2 | # i.MX: Disable idle timeout | ||
3 | idle-time=0 | ||
4 | |||
5 | #[output] | ||
6 | #name=HDMI-A-1 | ||
7 | #mode=1920x1080@60 | ||
8 | #transform=90 | ||
9 | |||
10 | #[output] | ||
11 | #name=HDMI-A-2 | ||
12 | #mode=off | ||
13 | # WIDTHxHEIGHT Resolution size width and height in pixels | ||
14 | # off Disables the output | ||
15 | # preferred Uses the preferred mode | ||
16 | # current Uses the current crt controller mode | ||
17 | #transform=90 | ||
18 | |||
19 | [screen-share] | ||
20 | command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize | ||
diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb b/recipes-graphics/wayland/weston_4.0.0.imx.bb index e80e7e0a..1a31016a 100644 --- a/recipes-graphics/wayland/weston_4.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb | |||
@@ -9,6 +9,7 @@ DEFAULT_PREFERENCE = "-1" | |||
9 | 9 | ||
10 | SRCBRANCH = "weston-imx-4.0" | 10 | SRCBRANCH = "weston-imx-4.0" |
11 | SRC_URI = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=https;branch=${SRCBRANCH} \ | 11 | SRC_URI = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=https;branch=${SRCBRANCH} \ |
12 | file://weston.ini \ | ||
12 | file://weston.png \ | 13 | file://weston.png \ |
13 | file://weston.desktop \ | 14 | file://weston.desktop \ |
14 | file://0001-make-error-portable.patch \ | 15 | file://0001-make-error-portable.patch \ |
@@ -111,8 +112,7 @@ do_install_append() { | |||
111 | fi | 112 | fi |
112 | 113 | ||
113 | # install default weston.ini | 114 | # install default weston.ini |
114 | install -d ${D}${sysconfdir}/xdg/weston | 115 | install -D -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini |
115 | install -m 0644 ${B}/weston.ini ${D}${sysconfdir}/xdg/weston | ||
116 | } | 116 | } |
117 | 117 | ||
118 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ | 118 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ |