summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend')
-rw-r--r--meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend b/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend
index 9aaea5f69..74f9e59e4 100644
--- a/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend
+++ b/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend
@@ -1,3 +1,19 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+
RDEPENDS_${PN}_append_qemux86 = " mesa-megadriver"
RDEPENDS_${PN}_append_qemux86-64 = " mesa-megadriver"
RDEPENDS_${PN}_append_intel-corei7-64 = " mesa-megadriver"
+
+SRC_URI_append = "\
+ file://weston-qemu-drm.ini \
+ "
+
+do_install_append() {
+ WESTON_CONFIG_DIR=${sysconfdir}/xdg/weston
+ install -d ${D}${WESTON_CONFIG_DIR}
+ install -m 0644 ${WORKDIR}/weston-qemu-drm.ini ${D}${WESTON_CONFIG_DIR}/weston.ini
+}
+
+FILES_${PN} += " \
+ ${sysconfdir}/xdg/weston/weston.ini \
+ "