summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2018-12-13 19:54:49 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-12-14 14:19:00 (GMT)
commit26fcf52d9bf76309860d0e8555f7371b282477a1 (patch)
tree7a0ff1d7896b381457c3f9e02b7f052a20bf0ee1
parent35044be34d6614003e62ba3ec5d1ba4c2d31cb49 (diff)
downloadmeta-phytec-26fcf52d9bf76309860d0e8555f7371b282477a1.zip
meta-phytec-26fcf52d9bf76309860d0e8555f7371b282477a1.tar.bz2
graphics: weston: set weston output to HDMI at i.MX8MQ
The default output for weston is the MIPI interface. We use the HDMI interface. Set the default output to HDMI. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston-machine-units.bb17
-rw-r--r--dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston-machine-units/weston3
-rw-r--r--dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston_%.bbappend1
3 files changed, 21 insertions, 0 deletions
diff --git a/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston-machine-units.bb b/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston-machine-units.bb
new file mode 100644
index 0000000..a168887
--- /dev/null
+++ b/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston-machine-units.bb
@@ -0,0 +1,17 @@
+SUMMARY = "Machine specific weston units"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PR = "r1"
+
+SRC_URI = " file://weston"
+
+do_install() {
+ install -d ${D}${sysconfdir}/default
+ install -m 0644 ${WORKDIR}/weston ${D}${sysconfdir}/default/
+}
+
+FILES_${PN} += "${sysconfdir}/default"
diff --git a/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston-machine-units/weston b/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston-machine-units/weston
new file mode 100644
index 0000000..7546b2e
--- /dev/null
+++ b/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston-machine-units/weston
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+OPTARGS="--drm-device=card0"
diff --git a/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston_%.bbappend b/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston_%.bbappend
new file mode 100644
index 0000000..b40f380
--- /dev/null
+++ b/dynamic-layers/fsl-bsp-release/recipes-graphics/wayland/weston_%.bbappend
@@ -0,0 +1 @@
+RDEPENDS_${PN} += "weston-machine-units"