summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend8
-rw-r--r--meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf4
-rw-r--r--meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc2
3 files changed, 14 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend
new file mode 100644
index 000000000..fb3f1ac32
--- /dev/null
+++ b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -0,0 +1,8 @@
+# Select default screen type and orientation
+# and only one default output
+
+# Note when such change is applied it will not be taken due to a Yocto cache error
+# Fix:
+# bitbake weston-ini-conf -c clean ; bitbake weston-ini-conf -c cleansstate
+
+WESTONOUTPUT1[agl_screen] = "SCREEN_eGalax"
diff --git a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
index eb30a9a96..ec658ce7d 100644
--- a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
+++ b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
@@ -1,5 +1,9 @@
#Generate a weston.ini file:
+# WARNING Due to a bug in Yocto cache, changes in related bbappand are not detected
+# Work-around:
+# bitbake weston-ini-conf -c clean ; bitbake weston-ini-conf -c cleansstate
+
To generate the weston.ini file:
'''
diff --git a/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc b/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc
new file mode 100644
index 000000000..4d3649f13
--- /dev/null
+++ b/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc
@@ -0,0 +1,2 @@
+SCREEN_eGalax[name] ?= "HDMI-A-1"
+SCREEN_eGalax[transform] ?= "90"