summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp/meta-sancloud/recipes-graphics/wayland')
-rw-r--r--meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend
index 9ab46c826..e737b540a 100644
--- a/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend
+++ b/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -1,4 +1,6 @@
do_configure_append_bbe() {
echo 'gbm-format=rgb565' >> ${WORKDIR}/core.cfg
- echo 'mode=1280x720' >> ${WORKDIR}/hdmi-a-1-270.cfg
+ if [[ -e "${WORKDIR}/hdmi-a-1-270.cfg" ]]; then
+ echo 'mode=1280x720' >> ${WORKDIR}/hdmi-a-1-270.cfg
+ fi
}