From 7d1d7457ff2b71abe95525b26148d5a3e7a42790 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 24 Mar 2017 11:16:21 +0100 Subject: Generate weston.ini dynamically * remove weston-intel.ini * add new package weston-ini-conf * the list of the sections of weston.ini is described in variable flags WESTONSECTION * each section is described in variable flags WESTONSECTION * each output screen is described in agl_screen variable Bug-AGL: SPEC-477 Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170 Signed-off-by: Ronan Le Martret --- .../recipes-graphics/wayland/weston-ini-conf.bbappend | 4 ++++ .../wayland/weston/weston-raspberrypi.ini | 19 ------------------- .../recipes-graphics/wayland/weston_%.bbappend | 6 ------ 3 files changed, 4 insertions(+), 25 deletions(-) create mode 100644 meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston-ini-conf.bbappend delete mode 100644 meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston-raspberrypi.ini (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland') diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston-ini-conf.bbappend new file mode 100644 index 000000000..14b858d45 --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -0,0 +1,4 @@ +# Disable LVDS +WESTONOUTPUT2[agl_screen] ??= "SCREEN_DSI" + +WESTONSECTION[WESTONOUTPUT2] = "output" diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston-raspberrypi.ini b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston-raspberrypi.ini deleted file mode 100644 index 15721e3dc..000000000 --- a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston-raspberrypi.ini +++ /dev/null @@ -1,19 +0,0 @@ -[core] -backend=drm-backend.so -shell=ivi-shell.so - -[ivi-shell] -ivi-module=ivi-controller.so -ivi-input-module=ivi-input-controller.so - -# HDMI / GeChic -[output] -name=HDMI-A-1 -transform=270 -# Uncomment for 1080p on GeChic 1502i: -#mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync - -# official touchscreen over DSI interface -[output] -name=DSI-1 -transform=270 diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend index 7c8167961..f8c0a5fa3 100644 --- a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend @@ -1,20 +1,14 @@ FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" SRC_URI_append = "\ - file://weston-raspberrypi.ini \ file://weston.sh \ " do_install_append() { - WESTON_INI_CONFIG=${sysconfdir}/xdg/weston - install -d ${D}${WESTON_INI_CONFIG} - install -m 0644 ${WORKDIR}/weston-raspberrypi.ini ${D}${WESTON_INI_CONFIG}/weston.ini - install -d ${D}/${sysconfdir}/profile.d install -m 0755 ${WORKDIR}/weston.sh ${D}/${sysconfdir}/profile.d/weston.sh } FILES_${PN} += " \ - ${sysconfdir}/xdg/weston/weston.ini \ ${sysconfdir}/profile.d/weston.sh \ " -- cgit 1.2.3-korg