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 --- .../wayland/weston-ini-conf.bbappend | 5 +++++ .../wayland/weston/weston-renesas.ini | 20 -------------------- .../recipes-graphics/wayland/weston_%.bbappend | 15 --------------- 3 files changed, 5 insertions(+), 35 deletions(-) create mode 100644 meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston-ini-conf.bbappend delete mode 100644 meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston/weston-renesas.ini delete mode 100644 meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston_%.bbappend (limited to 'meta-agl-bsp/meta-renesas/recipes-graphics') diff --git a/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston-ini-conf.bbappend new file mode 100644 index 000000000..7a54dfbe4 --- /dev/null +++ b/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -0,0 +1,5 @@ +# Disable LVDS +WESTONOUTPUT2[name] = "LVDS-1" +WESTONOUTPUT2[mode] = "off" + +WESTONSECTION[WESTONOUTPUT2] = "output" diff --git a/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston/weston-renesas.ini b/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston/weston-renesas.ini deleted file mode 100644 index 6e1c624c3..000000000 --- a/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston/weston-renesas.ini +++ /dev/null @@ -1,20 +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 - -[output] -name=HDMI-A-1 -transform=270 -#mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync -#mode=1920x1080 -#mode=1024x768 -#transform=90 - -[output] -# Disable LVDS -name=LVDS-1 -mode=off diff --git a/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston_%.bbappend b/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston_%.bbappend deleted file mode 100644 index 842c380a0..000000000 --- a/meta-agl-bsp/meta-renesas/recipes-graphics/wayland/weston_%.bbappend +++ /dev/null @@ -1,15 +0,0 @@ -FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" - -SRC_URI_append = "\ - file://weston-renesas.ini \ - " - -do_install_append() { - WESTON_INI_CONFIG=${sysconfdir}/xdg/weston - install -d ${D}${WESTON_INI_CONFIG} - install -m 0644 ${WORKDIR}/weston-renesas.ini ${D}${WESTON_INI_CONFIG}/weston.ini -} - -FILES_${PN} += " \ - ${sysconfdir}/xdg/weston/weston.ini \ - " -- cgit 1.2.3-korg