adding eGalax screen support for demo 81/11181/2
authorDominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Mon, 9 Oct 2017 12:24:48 +0000 (14:24 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 11 Oct 2017 09:24:40 +0000 (09:24 +0000)
Change-Id: I4e483052a88faebf21a50515b275326628731930
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11181
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend [new file with mode: 0644]
meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc [new file with mode: 0644]

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 (file)
index 0000000..fb3f1ac
--- /dev/null
@@ -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"
index eb30a9a..ec658ce 100644 (file)
@@ -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 (file)
index 0000000..4d3649f
--- /dev/null
@@ -0,0 +1,2 @@
+SCREEN_eGalax[name] ?= "HDMI-A-1"
+SCREEN_eGalax[transform] ?= "90"